Skip to content

Commit 3a16340

Browse files
committed
Use installed version of Kokkos-kernels in fedora images
1 parent f7a9a1d commit 3a16340

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copy this file into /etc/profile.d/
22

3-
export KokkosKernels_DIR=/kokkos-kernels/build
3+
export KokkosKernels_DIR=/kokkos-kernels/install
44

55
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$KokkosKernels_DIR/lib
66
export CPATH=$CPATH:$KokkosKernels_DIR/include

kokkos-kernels/kokkos-kernels-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ echo "Installing Kokkos-Kernels version ${VERSION}"
55
wget -c https://github.com/kokkos/kokkos-kernels/archive/refs/tags/$VERSION.zip
66
unzip $VERSION.zip && mv kokkos-kernels-$VERSION kokkos-kernels
77
cd kokkos-kernels && mkdir build && cd build
8-
cmake -DBUILD_TESTING="OFF" -DBUILD_SHARED_LIBS="ON" .. && make -j 4
8+
cmake -DBUILD_TESTING="OFF" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/kokkos-kernels/install" .. && make install -j 4

0 commit comments

Comments
 (0)