mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 08:18:51 -06:00
Small fixes to Makefile
[benchmark]
This commit is contained in:
4
Makefile
4
Makefile
@@ -9,9 +9,9 @@ VERSION := 0.1
|
|||||||
|
|
||||||
build/sysimage.so: src/sysimage.jl Project.toml Manifest.toml
|
build/sysimage.so: src/sysimage.jl Project.toml Manifest.toml
|
||||||
mkdir -p build
|
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
|
$(JULIA) src/sysimage.jl
|
||||||
rm precompile.jl
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build/*
|
rm -rf build/*
|
||||||
|
|||||||
@@ -18,4 +18,6 @@ pkg = [:DataStructures,
|
|||||||
]
|
]
|
||||||
|
|
||||||
@info "Building system image..."
|
@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")
|
||||||
|
|||||||
Reference in New Issue
Block a user