summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-01-17 17:45:48 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-27 02:39:35 -0500
commit6e09b3cfdae6f034ee3a6dd52b61853c017b96f1 (patch)
treea0109f8d5707c31c50ea39ac22afca3213f39715 /.gitlab-ci.yml
parent3577defb3c298578339977c6b8865dff144b7ffa (diff)
downloadhaskell-6e09b3cfdae6f034ee3a6dd52b61853c017b96f1.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
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d3029aef6f..0cd7e2673f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -848,6 +848,9 @@ validate-x86_64-linux-deb10-debug:
TEST_ENV: "x86_64-linux-deb10-debug"
BIN_DIST_PREP_TAR_COMP: "ghc-x86_64-deb10-linux-debug.tar.xz"
HADDOCK_HYPERLINKED_SOURCES: "yes"
+ # 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