Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit bc5a4c4

Browse files
committed
load extra module llvm using SPACK_EXTRA_MODULES
1 parent 3e388a1 commit bc5a4c4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.gitlab-ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ trigger cvf:
2626
variables:
2727
SPACK_PACKAGE: nmodl
2828
SPACK_PACKAGE_SPEC: ~legacy-unit+python
29+
SPACK_EXTRA_MODULES: llvm
30+
SPACK_INSTALL_EXTRA_FLAGS: -v
2931

3032
spack_setup:
3133
extends: .spack_setup_ccache
@@ -41,13 +43,15 @@ build:intel:
4143
- .spack_nmodl
4244
variables:
4345
SPACK_PACKAGE_COMPILER: intel
46+
# intel build is slow with release
47+
SPACK_PACKAGE_SPEC: ~legacy-unit+python build_type=Debug
4448

45-
build:nvhpc:
49+
build:gcc:
4650
extends:
4751
- .spack_build
4852
- .spack_nmodl
4953
variables:
50-
SPACK_PACKAGE_COMPILER: nvhpc
54+
SPACK_PACKAGE_COMPILER: gcc
5155
SPACK_PACKAGE_DEPENDENCIES: ^bison%gcc^flex%gcc^py-jinja2%gcc^py-sympy%gcc^py-pyyaml%gcc
5256

5357
.nmodl_tests:
@@ -61,8 +65,8 @@ test:intel:
6165
- .nmodl_tests
6266
needs: ["build:intel"]
6367

64-
test:nvhpc:
68+
test:gcc:
6569
extends:
6670
- .ctest
6771
- .nmodl_tests
68-
needs: ["build:nvhpc"]
72+
needs: ["build:gcc"]

0 commit comments

Comments
 (0)