Skip to content

Commit

Permalink
Merge pull request #4877 from ye-luo/add-github-offload-complex
Browse files Browse the repository at this point in the history
Expand CI to complex in offload to host builds.
  • Loading branch information
prckent committed Dec 15, 2023
2 parents f702baf + 3fa15cd commit 0f97639
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci-github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
Clang14-NoMPI-ASan-Complex,
Clang14-NoMPI-UBSan-Real,
Clang16-NoMPI-Offload-Real,
Clang16-NoMPI-Offload-Complex,
]
include:
- jobname: GCC9-NoMPI-Debug-Real
Expand Down Expand Up @@ -108,6 +109,11 @@ jobs:
image: ghcr.io/qmcpack/ubuntu22-clang:latest
options: -u 1001

- jobname: Clang16-NoMPI-Offload-Complex
container:
image: ghcr.io/qmcpack/ubuntu22-clang:latest
options: -u 1001

steps:
- name: Checkout Action
uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion tests/test_automation/github-actions/ci/run_step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,13 @@ case "$1" in
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
${GITHUB_WORKSPACE}
;;
*"Clang16-NoMPI-Offload-Real"*)
*"Clang16-NoMPI-Offload"*)
echo 'Configure for building OpenMP offload with clang16 on x86_64 target'
cmake -GNinja \
-DCMAKE_C_COMPILER=clang-16 \
-DCMAKE_CXX_COMPILER=clang++-16 \
-DQMC_MPI=0 \
-DQMC_COMPLEX=$IS_COMPLEX \
-DENABLE_OFFLOAD=ON \
-DOFFLOAD_TARGET=x86_64-pc-linux-gnu \
-DUSE_OBJECT_TARGET=ON \
Expand Down

0 comments on commit 0f97639

Please sign in to comment.