@@ -170,7 +170,7 @@ $(FSTAR1_FULL_EXE): .bare1.src.touch .full1.src.touch .stage1.ml.touch $(MAYBEFO
170
170
171
171
$(FSTAR2_BARE_EXE ) : .bare2.src.touch .stage2.ml.touch $(MAYBEFORCE )
172
172
$(call bold_msg, "BUILD", "STAGE 2 FSTARC-BARE")
173
- $(MAKE ) -C stage2 fstarc-bare
173
+ $(MAKE ) -C stage2 fstarc-bare FSTAR_DUNE_RELEASE=1
174
174
touch -c $@
175
175
# ^ Note, even if we don't release fstar-bare itself,
176
176
# it is still part of the build of the full fstar, so
@@ -191,7 +191,7 @@ $(FSTAR2_BARE_EXE): .bare2.src.touch .stage2.ml.touch $(MAYBEFORCE)
191
191
192
192
$(FSTAR2_FULL_EXE ) : .bare2.src.touch .full2.src.touch .stage2.ml.touch $(MAYBEFORCE )
193
193
$(call bold_msg, "BUILD", "STAGE 2 FSTARC")
194
- $(MAKE ) -C stage2 fstarc-full
194
+ $(MAKE ) -C stage2 fstarc-full FSTAR_DUNE_RELEASE=1
195
195
touch -c $@
196
196
197
197
.alib2.src.touch : $(FSTAR2_FULL_EXE ) .force
@@ -209,7 +209,7 @@ $(FSTAR2_FULL_EXE): .bare2.src.touch .full2.src.touch .stage2.ml.touch $(MAYBEFO
209
209
210
210
.alib2.touch : .alib2.src.touch .stage2.ml.touch $(MAYBEFORCE )
211
211
$(call bold_msg, "BUILD", "STAGE 2 LIB")
212
- $(MAKE ) -C stage2/ libapp
212
+ $(MAKE ) -C stage2/ libapp FSTAR_DUNE_RELEASE=1
213
213
touch $@
214
214
215
215
.plib2.src.touch : $(FSTAR2_FULL_EXE ) .alib2.src.touch .force
@@ -229,7 +229,7 @@ $(FSTAR2_FULL_EXE): .bare2.src.touch .full2.src.touch .stage2.ml.touch $(MAYBEFO
229
229
230
230
.plib2.touch : .plib2.src.touch .stage2.ml.touch $(MAYBEFORCE )
231
231
$(call bold_msg, "BUILD", "STAGE 2 PLUGLIB")
232
- $(MAKE ) -C stage2/ libplugin
232
+ $(MAKE ) -C stage2/ libplugin FSTAR_DUNE_RELEASE=1
233
233
touch $@
234
234
235
235
# F# library, from stage 2.
@@ -298,7 +298,7 @@ endif
298
298
.install-stage2.touch : export FSTAR_LINK_LIBDIRS=$(LINK_OK )
299
299
.install-stage2.touch : .stage2.src.touch
300
300
$(call bold_msg, "INSTALL", "STAGE 2")
301
- $(MAKE ) -C stage2 install PREFIX=$(CURDIR ) /stage2/out
301
+ $(MAKE ) -C stage2 install PREFIX=$(CURDIR ) /stage2/out FSTAR_DUNE_RELEASE=1
302
302
@# ^ pass PREFIX to make sure we don't get it from env
303
303
touch $@
304
304
@@ -326,14 +326,14 @@ install: export PREFIX?=/usr/local
326
326
install : export FSTAR_LINK_LIBDIRS=0 # default is false, but set anyway
327
327
install :
328
328
$(call bold_msg, "INSTALL", "STAGE 2")
329
- $(MAKE ) -C stage2 install
329
+ $(MAKE ) -C stage2 install FSTAR_DUNE_RELEASE=1
330
330
331
331
__do-install-stage1 :
332
332
$(call bold_msg, "INSTALL", "STAGE 1")
333
333
$(MAKE ) -C stage1 install
334
334
__do-install-stage2 :
335
335
$(call bold_msg, "INSTALL", "STAGE 2")
336
- $(MAKE ) -C stage2 install
336
+ $(MAKE ) -C stage2 install FSTAR_DUNE_RELEASE=1
337
337
338
338
__do-archive : .force
339
339
rm -rf $(PKGTMP )
0 commit comments