From 4146aa9f95757076ca90b2a585511d0ac377cf59 Mon Sep 17 00:00:00 2001 From: Alinson S Xavier Date: Wed, 18 Nov 2020 13:34:18 -0600 Subject: [PATCH] Small fixes to Makefile [benchmark] --- Makefile | 4 ++-- src/sysimage.jl | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cae5cc0..99e1581 100644 --- a/Makefile +++ b/Makefile @@ -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/* diff --git a/src/sysimage.jl b/src/sysimage.jl index 8eeaedf..79887d1 100644 --- a/src/sysimage.jl +++ b/src/sysimage.jl @@ -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")