@@ -38,6 +38,7 @@ release: $(BIN)/hello$(EXE) $(BIN)/basic_jll$(EXE)
38
38
$(BIN ) /hello-o.a : $(SRCDIR ) /hello.jl $(JULIAC_BUILDSCRIPT )
39
39
$(JULIA ) -t 1 -J $(JULIA_LIBDIR ) /julia/sys.$(SHLIB_EXT ) --startup-file=no --history-file=no --output-o $@ --output-incremental=no --strip-ir --strip-metadata --experimental --trim $(JULIAC_BUILDSCRIPT ) $< --output-exe true
40
40
41
+ <<<<<<< HEAD
41
42
<<<<<<< HEAD
42
43
$(BIN ) /basic_jll-o.a : $(SRCDIR ) /basic_jll.jl $(JULIAC_BUILDSCRIPT )
43
44
$(JULIA ) -t 1 -J $(JULIA_LIBDIR ) /julia/sys.$(SHLIB_EXT ) --startup-file=no --history-file=no --project=$(SRCDIR ) -e " using Pkg; Pkg.instantiate()"
@@ -58,19 +59,28 @@ clean:
58
59
basic_jll-o.a : $(SRCDIR ) /basic_jll.jl $(BUILDSCRIPT )
59
60
$(JULIA ) -t 1 -J $(BIN ) /../lib/julia/sys.$(SHLIB_EXT ) --startup-file=no --history-file=no --project=$(SRCDIR ) -e " using Pkg; Pkg.instantiate()"
60
61
$(JULIA ) -t 1 -J $(BIN ) /../lib/julia/sys.$(SHLIB_EXT ) --startup-file=no --history-file=no --project=$(SRCDIR ) --output-o $@ --output-incremental=no --strip-ir --strip-metadata --experimental --trim $(BUILDSCRIPT ) $< --output-exe true
62
+ ====== =
63
+ $(BIN ) /basic_jll-o.a : $(SRCDIR ) /basic_jll.jl $(JULIAC_BUILDSCRIPT )
64
+ $(JULIA ) -t 1 -J $(JULIA_LIBDIR ) /julia/sys.$(SHLIB_EXT ) --startup-file=no --history-file=no --project=$(SRCDIR ) -e " using Pkg; Pkg.instantiate()"
65
+ $(JULIA ) -t 1 -J $(JULIA_LIBDIR ) /julia/sys.$(SHLIB_EXT ) --startup-file=no --history-file=no --project=$(SRCDIR ) --output-o $@ --output-incremental=no --strip-ir --strip-metadata --experimental --trim $(JULIAC_BUILDSCRIPT ) $< --output-exe true
66
+ >>>>>>> 6a796e0693 (Make trimming tests work in an out-of-tree build. (# 58340))
61
67
62
- hello$(EXE ) : hello-o.a
68
+ $( BIN ) / hello$(EXE ) : $( BIN ) / hello-o.a
63
69
$(CC ) -o $@ $(WHOLE_ARCHIVE ) $< $(NO_WHOLE_ARCHIVE ) $(CPPFLAGS_ADD ) $(CPPFLAGS ) $(CFLAGS_ADD ) $(CFLAGS ) $(LDFLAGS_ADD ) $(LDFLAGS )
64
70
65
- basic_jll$(EXE ) : basic_jll-o.a
71
+ $( BIN ) / basic_jll$(EXE ) : $( BIN ) / basic_jll-o.a
66
72
$(CC ) -o $@ $(WHOLE_ARCHIVE ) $< $(NO_WHOLE_ARCHIVE ) $(CPPFLAGS_ADD ) $(CPPFLAGS ) $(CFLAGS_ADD ) $(CFLAGS ) $(LDFLAGS_ADD ) $(LDFLAGS )
67
73
68
- check : hello$(EXE ) basic_jll$(EXE )
69
- $(JULIA ) --depwarn=error $(SRCDIR ) /../runtests. jl $( SRCDIR ) /trimming
74
+ check : $( BIN ) / hello$(EXE ) $( BIN ) / basic_jll$(EXE )
75
+ $(JULIA ) --depwarn=error $(SRCDIR ) /trimming. jl $<
70
76
71
77
clean :
78
+ <<<<<<< HEAD
72
79
-rm -f hello$(EXE) basic_jll$(EXE) hello-o.a basic_jll-o.a
73
80
>>>>>>> ff4e43c989 (trimming : Remove `init.c` from test)
81
+ ====== =
82
+ -rm -f $(BIN)/hello$(EXE) $(BIN)/basic_jll$(EXE) $(BIN)/hello-o.a $(BIN)/basic_jll-o.a
83
+ >>>>>>> 6a796e0693 (Make trimming tests work in an out-of-tree build. (# 58340))
74
84
75
85
.PHONY : release clean check
76
86
0 commit comments