File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,7 +253,8 @@ __install-stage1:
253253
254254$(INSTALLED_FSTAR1_FULL_EXE ) : export FSTAR_LINK_LIBDIRS=$(LINK_OK )
255255$(INSTALLED_FSTAR1_FULL_EXE ) : stage1-components
256- $(MAKE ) __install-stage1
256+ $(MAKE ) __install-stage1 PREFIX=$(CURDIR ) /stage1/out
257+ @# ^ pass PREFIX to make sure we don't get it from env
257258
258259stage2-components : 2.full 2.alib.src 2.plib.src
259260__install-stage2 :
@@ -262,15 +263,16 @@ __install-stage2:
262263
263264$(INSTALLED_FSTAR2_FULL_EXE ) : export FSTAR_LINK_LIBDIRS=$(LINK_OK )
264265$(INSTALLED_FSTAR2_FULL_EXE ) : stage2-components
265- $(MAKE ) __install-stage2
266+ $(MAKE ) __install-stage2 PREFIX=$(CURDIR ) /stage2/out
267+ @# ^ pass PREFIX to make sure we don't get it from env
266268
267269setlink-% :
268270 if [ -e out ] && ! [ -h out ]; then echo " ERROR: out/ exists and is not a symbolic link, please remove it" ; false ; fi
269271 ln -Trsf stage$* /out out
270272 # For compatibility with the previous layout
271273 mkdir -p bin
272274 ln -Trsf out/bin/fstar.exe bin/fstar.exe
273- ln -Trsf out/bin /get_fstar_z3.sh bin/get_fstar_z3.sh
275+ ln -Trsf .scripts /get_fstar_z3.sh bin/get_fstar_z3.sh
274276
275277stage1 : $(INSTALLED_FSTAR1_FULL_EXE )
2762781 : stage1
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ depends: [
2424]
2525depexts: ["coreutils"] {os = "macos" & os-distribution = "homebrew"}
2626build: [
27- [make "PREFIX=%{prefix}%" " -j" jobs "ADMIT=1"]
27+ [make "-j" jobs "ADMIT=1"]
2828]
2929install: [
3030 [make "PREFIX=%{prefix}%" "install"]
You can’t perform that action at this time.
0 commit comments