Skip to content

Commit

Permalink
load extra module llvm using SPACK_EXTRA_MODULES
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodk committed Mar 8, 2022
1 parent 3e388a1 commit bc5a4c4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ trigger cvf:
variables:
SPACK_PACKAGE: nmodl
SPACK_PACKAGE_SPEC: ~legacy-unit+python
SPACK_EXTRA_MODULES: llvm
SPACK_INSTALL_EXTRA_FLAGS: -v

spack_setup:
extends: .spack_setup_ccache
Expand All @@ -41,13 +43,15 @@ build:intel:
- .spack_nmodl
variables:
SPACK_PACKAGE_COMPILER: intel
# intel build is slow with release
SPACK_PACKAGE_SPEC: ~legacy-unit+python build_type=Debug

build:nvhpc:
build:gcc:
extends:
- .spack_build
- .spack_nmodl
variables:
SPACK_PACKAGE_COMPILER: nvhpc
SPACK_PACKAGE_COMPILER: gcc
SPACK_PACKAGE_DEPENDENCIES: ^bison%gcc^flex%gcc^py-jinja2%gcc^py-sympy%gcc^py-pyyaml%gcc

.nmodl_tests:
Expand All @@ -61,8 +65,8 @@ test:intel:
- .nmodl_tests
needs: ["build:intel"]

test:nvhpc:
test:gcc:
extends:
- .ctest
- .nmodl_tests
needs: ["build:nvhpc"]
needs: ["build:gcc"]

0 comments on commit bc5a4c4

Please sign in to comment.