Skip to content

Commit

Permalink
Workaround preferences in depot
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Nov 23, 2023
1 parent 1eb0fbd commit 5b0148a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
JULIA_NVTX_CALLBACKS: gc
OMPI_MCA_opal_warn_on_missing_libcuda: 0
JULIA_MAX_NUM_PRECOMPILE_FILES: 100
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/cpu"
JULIA_CPU_TARGET: 'broadwell;skylake'
CONFIG_PATH: "config/model_configs"
GPU_CONFIG_PATH: "config/gpu_configs/"
Expand All @@ -28,6 +28,9 @@ steps:
command:
- "echo $$JULIA_DEPOT_PATH"

- echo "--- Remove MPIPreferences"
- "rm -f ${JULIA_DEPOT_PATH}/environments/v1.9/LocalPreferences.toml"

- echo "--- Instantiate project"
- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
- "julia --project -e 'using Pkg; Pkg.precompile()'"
Expand Down

0 comments on commit 5b0148a

Please sign in to comment.