Skip to content

Commit c2af016

Browse files
authored
Merge pull request #4385 from jacereda/smaller-closure
Smaller closure
2 parents 069f344 + 3d0168f commit c2af016

22 files changed

+854
-1269
lines changed

benchmarks/build.pl

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
$bmarks = `cat ALL`;
44
@bm = split(/\n/, $bmarks);
5+
$idris = $ENV{'IDRIS'} || "idris";
56

67
foreach $b (@bm) {
78
if ($b =~ /([a-zA-Z0-9]+)\/([a-zA-Z0-9]+)\s+(.*)/) {
89
print "Building $1 / $2\n";
910
chdir $1;
10-
system("idris --clean $2.ipkg");
11-
system("idris --build $2.ipkg") == 0 or die "Unable to build $2: $?";
11+
system("$idris --clean $2.ipkg");
12+
system("$idris --build $2.ipkg") == 0 or die "Unable to build $2: $?";
1213
chdir "..";
1314
}
1415
}

libs/base/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IDRIS := idris
1+
IDRIS ?= idris
22
PKG := base
33

44
build:

libs/contrib/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IDRIS := idris
1+
IDRIS ?= idris
22
PKG := contrib
33

44
build:

libs/effects/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IDRIS := idris
1+
IDRIS ?= idris
22
PKG := effects
33

44
build:

libs/prelude/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IDRIS := idris
1+
IDRIS ?= idris
22
PKG := prelude
33

44
build:

libs/pruviloj/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
IDRIS := idris
1+
IDRIS ?= idris
22
PKG := pruviloj
33

44
build:

rts/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ install :
4040
clean :
4141
rm -f $(OBJS) $(LIBTARGET) $(DYLIBTARGET)
4242

43-
idris_rts.o: idris_rts.h
43+
$(OBJS): $(HDRS)
4444

4545
.PHONY: build install clean

0 commit comments

Comments
 (0)