Skip to content

Commit

Permalink
Small changes to justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tvami committed Sep 17, 2024
1 parent fc9bb2a commit 5e53332
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ install-denv:
configure *CONFIG:
denv cmake -B build -S . -DADDITIONAL_WARNINGS=ON -DENABLE_CLANG_TIDY=ON {{ CONFIG }}

configure-force-error *CONFIG:
just configure -DWARNINGS_AS_ERRORS=ON {{ CONFIG }}
configure-force-error *CONFIG:
just configure -DWARNINGS_AS_ERRORS=ON {{ CONFIG }}

configure-clang-lto:
denv cmake -B build -S . -DADDITIONAL_WARNINGS=ON -DENABLE_CLANG_TIDY=ON -DENABLE_LTO=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
Expand Down Expand Up @@ -176,12 +176,10 @@ setenv +ENVVAR:
denv config env copy {{ ENVVAR }}

# configure and build ldmx-sw
compile ncpu=num_cpus() *CONFIG='':
(configure CONFIG) (build ncpu)
compile ncpu=num_cpus() *CONFIG='': (configure CONFIG) (build ncpu)

# re-build ldmx-sw and then run a config
recompFire config_py *ARGS:
(compile) (fire config_py ARGS)
recompFire config_py *ARGS: compile (fire config_py ARGS)

# install the validation module
# `python3 -m pip install Validation/` is the standard `pip` install method.
Expand Down

0 comments on commit 5e53332

Please sign in to comment.