Skip to content

Add header cstdint to kp_shared.h (#311) #748

Add header cstdint to kp_shared.h (#311)

Add header cstdint to kp_shared.h (#311) #748

name: Simple build without Kokkos
on: [push, pull_request]
jobs:
simple-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure using CMake and compile.
run : |
# The Kokkos Tools systemtap connector requires 'dtrace'
sudo apt update
sudo apt --yes --no-install-recommends install systemtap-sdt-dev
cmake -B build -DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror"
cmake --build build
cmake --install build --prefix ${RUNNER_TEMP}/kokkos-installed
- name: Check KokkosTools_ROOT.
run : |
SCRATCH_DIR="${RUNNER_TEMP}/kokkos-tools-scratch"
rm -rf "${SCRATCH_DIR}"
mkdir -p "${SCRATCH_DIR}"
cat > "${SCRATCH_DIR}/CMakeLists.txt" <<EOF
cmake_minimum_required(VERSION 3.14)
project(TestFindKokkosTools)
find_package(KokkosTools REQUIRED)
EOF
KokkosTools_ROOT=${RUNNER_TEMP}/kokkos-installed cmake -S "${SCRATCH_DIR}" -B "${SCRATCH_DIR}/build" --debug-find-pkg=KokkosTools