Skip to content

Commit

Permalink
Merge pull request #1670 from masterleinad/update_sycl
Browse files Browse the repository at this point in the history
SYCL CI: Specify the full path to the compiler
  • Loading branch information
lucbv authored Feb 2, 2023
2 parents a3ee83b + e72bc38 commit 6d6ed24
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .jenkins/nightly.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ pipeline {
}
}
steps {
sh '''rm -rf kokkos &&
sh '''. /opt/intel/oneapi/setvars.sh --include-intel-llvm && \
rm -rf kokkos &&
git clone -b develop https://github.com/kokkos/kokkos.git && cd kokkos && \
mkdir build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_CXX_COMPILER=/opt/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/clang++ \
-DKokkos_ARCH_VOLTA70=ON \
-DKokkos_ENABLE_DEPRECATED_CODE_3=OFF \
-DKokkos_ENABLE_SYCL=ON \
Expand All @@ -32,10 +33,11 @@ pipeline {
.. && \
make -j8 && make install && \
cd ../.. && rm -rf kokkos'''
sh '''rm -rf build && mkdir -p build && cd build && \
sh '''. /opt/intel/oneapi/setvars.sh --include-intel-llvm && \
rm -rf build && mkdir -p build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_CXX_COMPILER=/opt/intel/oneapi/compiler/2023.0.0/linux/bin-llvm/clang++ \
-DKokkosKernels_ENABLE_TESTS=ON \
-DKokkosKernels_ENABLE_EXAMPLES=ON \
-DKokkosKernels_INST_DOUBLE=ON \
Expand Down

0 comments on commit 6d6ed24

Please sign in to comment.