From 0edf8554843e58fdeffe8240a2282e8b94c76ee4 Mon Sep 17 00:00:00 2001 From: Ben Cumming <bcumming@cscs.ch> Date: Mon, 6 Sep 2021 12:36:18 +0200 Subject: [PATCH] Attempt fixing a64fx build (#1636) Reduce number of parallel build jobs to reduce risk of OOM in CI builds. --- ci/test-ault-fujitsu.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/test-ault-fujitsu.sh b/ci/test-ault-fujitsu.sh index cdfb081c..872e9ef7 100755 --- a/ci/test-ault-fujitsu.sh +++ b/ci/test-ault-fujitsu.sh @@ -9,13 +9,16 @@ echo "=== loading environment" source /users/bcumming/a64fx/env.sh spack load git gcc@11.1.0 cmake ninja +cd "$base_path" +git submodule init +git submodule update build_path="$base_path/build" echo "=== building: $build_path" mkdir "$build_path" cd "$build_path" echo "=== CC=gcc CXX=g++ cmake .. -DARB_USE_BUNDLED_LIBS=on -DARB_ARCH=armv8.2-a+sve -DARB_VECTORIZE=on -G Ninja" CC=gcc CXX=g++ cmake .. -DARB_USE_BUNDLED_LIBS=on -DARB_ARCH=armv8.2-a+sve -DARB_VECTORIZE=on -G Ninja -ninja -j48 unit +ninja -j8 unit bin_path="$build_path/bin" echo "=== running unit tests: $bin_path/unit" -- GitLab