Small fixes to Makefile

[benchmark]
akazachk/formulations
Alinson S. Xavier 5 years ago
parent 9957894bdc
commit 4146aa9f95

@ -9,9 +9,9 @@ VERSION := 0.1
build/sysimage.so: src/sysimage.jl Project.toml Manifest.toml
mkdir -p build
$(JULIA) --trace-compile=precompile.jl benchmark/run.jl test/case14.json.gz
mkdir -p benchmark/results/test
cd benchmark; $(JULIA) --trace-compile=../build/precompile.jl run.jl test/case14.1.sol.json
$(JULIA) src/sysimage.jl
rm precompile.jl
clean:
rm -rf build/*

@ -18,4 +18,6 @@ pkg = [:DataStructures,
]
@info "Building system image..."
create_sysimage(pkg, precompile_statements_file=joinpath(@__DIR__, "../precompile.jl"), sysimage_path="build/sysimage.so")
create_sysimage(pkg,
precompile_statements_file="build/precompile.jl",
sysimage_path="build/sysimage.so")

Loading…
Cancel
Save