diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-01-17 17:45:48 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-10 13:55:36 +0000 |
commit | 6741f1a5256662cf82b903d41c93783bca1e86ea (patch) | |
tree | e5ea09bbdc80f90ee43c51a10c2b099f8d86863a /.gitlab-ci.yml | |
parent | 0299de818fafd2a4fc80a320d10aaa1f3ef81a50 (diff) | |
download | haskell-6741f1a5256662cf82b903d41c93783bca1e86ea.tar.gz |
ci: Add ENABLE_NUMA flag to explicitly turn on libnuma dependency
In recent releases a libnuma dependency has snuck into our bindists
because the images have started to contain libnuma. We now explicitly
pass `--disable-numa` to configure unless explicitly told not to by
using the `ENABLE_NUMA` environment variable.
So this is tested, there is one random validate job which builds with
--enable-numa so that the code in the RTS is still built.
Fixes #20957 and #15444
(cherry picked from commit 6e09b3cfdae6f034ee3a6dd52b61853c017b96f1)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 018a3b4b1c..9192d538b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -784,6 +784,9 @@ validate-x86_64-linux-deb9-debug: TEST_TYPE: slowtest TEST_ENV: "x86_64-linux-deb9-debug" BIN_DIST_PREP_TAR_COMP: "ghc-x86_64-deb9-linux-debug.tar.xz" + # Numa enabled for this build so at least one build tests the libnuma build. + # It could be any job but luckily for deb10-debug, I choose it. + ENABLE_NUMA: 1 artifacts: when: always expire_in: 2 week |