Skip to content

more workflow fixes

more workflow fixes #3

Workflow file for this run

name: Reusable SPR workflow
permissions:
contents: none
on:
workflow_call:
inputs:
kokkos_version:
description: 'The Kokkos Core version to build'
default: ''
required: true
type: string
jobs:
PR_SPR_ONEAPI202310_OPENMP_LEFT_MKLBLAS_MKLLAPACK_REL:
name: PR_SPR_ONEAPI202310_OPENMP_LEFT_MKLBLAS_MKLLAPACK_REL
runs-on: [kk-env-intel-oneapi-compilers-2023.1.0-latest]
steps:
- name: checkout_kokkos_kernels
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: kokkos-kernels
- name: checkout_kokkos
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: kokkos/kokkos
ref: ${{ inputs.kokkos_version }}
path: kokkos
- name: configure_kokkos
run: |

Check failure on line 34 in .github/workflows/spr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/spr.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
mkdir -p kokkos/{build,install}
cd kokkos/build
cmake \
-D BUILD_SHARED_LIBS=OFF \
-D CMAKE_CXX_COMPILER=icpx \
-D CMAKE_CXX_FLAGS=-fp-model=precise \
-D CMAKE_EXE_LINKER_FLAGS= \
-D CMAKE_INSTALL_PREFIX="$PWD/../install" \
-D CMAKE_VERBOSE_MAKEFILE=ON \
-D CMAKE_CXX_EXTENSIONS=OFF \
-D Kokkos_ENABLE_SERIAL=ON \
-D Kokkos_ENABLE_OPENMP=ON \
-D Kokkos_ARCH_SPR=ON \
-D Kokkos_ENABLE_TESTS=OFF \
-D Kokkos_ENABLE_EXAMPLES=OFF \
-D Kokkos_ENABLE_DEPRECATION_WARNINGS=OFF \
-D Kokkos_ENABLE_DEPRECATED_CODE_4=OFF \
-D Kokkos_ENABLE_DEPRECATION_WARNINGS=OFF \
-D Kokkos_ENABLE_ONEDPL=OFF \
..
- name: build_and_install_kokkos
run: |
cmake --build "$PWD/kokkos/build" -j 12
cmake --install "$PWD/kokkos/build"
- name: configure_kokkos_kernels
run: |
mkdir -p kokkos-kernels/{build,install}
cd kokkos-kernels/build
cmake \
-S "$PWD/.." \
-B "$PWD" \
-D BUILD_SHARED_LIBS=OFF \
-D CMAKE_CXX_COMPILER=icpx \
-D CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF \
-D CMAKE_CXX_FLAGS="-fp-model=precise -Wno-pass-failed" \
-D CMAKE_INSTALL_PREFIX= \
-D Kokkos_ROOT="$PWD/../../kokkos/install" \
-D KokkosKernels_ENABLE_TESTS_AND_PERFSUITE=OFF \
-D KokkosKernels_ENABLE_TESTS=ON \
-D KokkosKernels_ENABLE_PERFTESTS=ON \
-D KokkosKernels_ENABLE_EXAMPLES=ON \
-D KokkosKernels_INST_FLOAT=ON \
-D KokkosKernels_INST_COMPLEX_FLOAT=ON \
-D KokkosKernels_INST_DOUBLE=ON \
-D KokkosKernels_INST_COMPLEX_DOUBLE=ON \
-D KokkosKernels_INST_ORDINAL_INT64_T=ON \
-D KokkosKernels_INST_ORDINAL_INT=ON \
-D KokkosKernels_INST_OFFSET_SIZE_T=ON \
-D KokkosKernels_INST_OFFSET_INT=ON \
-D KokkosKernels_ENABLE_TPL_MKL=ON
- name: build_kokkos_kernels
run: cmake --build "$PWD/kokkos-kernels/build" -j 12
- name: test
working-directory: kokkos-kernels/build
run: ctest --output-on-failure -V --timeout 3600