File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 CI :
14+ defaults :
15+ run :
16+ shell : bash
1417 strategy :
1518 matrix :
1619 backend : ["OPENMP", "SERIAL"]
@@ -44,11 +47,25 @@ jobs:
4447 cmake -B build -DCMAKE_PREFIX_PATH=${HOME}/kokkos -DCMAKE_INSTALL_PREFIX=$HOME/arborx
4548 cmake --build build --parallel 2
4649 cmake --install build
50+ - name : Checkout hypre
51+ uses : actions/checkout@v3
52+ with :
53+ repository : hypre-space/hypre
54+ ref : master
55+ path : hypre
56+ - name : Build hypre
57+ working-directory : hypre/src
58+ run : |
59+ [[ ${{ matrix.backend }} == 'OPENMP' ]] && hypre_cmake_opts+=( -DHYPRE_WITH_OPENMP=ON )
60+ cmake -B build \
61+ -DHYPRE_INSTALL_PREFIX=$HOME/hypre -DHYPRE_WITH_MPI=ON ${hypre_cmake_opts[@]}
62+ cmake --build build --parallel 2
63+ cmake --install build
4764 - name : Checkout Cabana
4865 uses : actions/checkout@v3
4966 - name : Build Cabana
5067 run : |
51- cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/Cabana -DCMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/arborx" -DCabana_ENABLE_TESTING=ON -DCabana_ENABLE_EXAMPLES=ON -DCabana_REQUIRE_${{ matrix.backend }}=ON -DVALGRIND_EXECUTABLE=False ${{ github.event.inputs.cmake_args }}
68+ cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/Cabana -DCMAKE_PREFIX_PATH="$HOME/kokkos;$HOME/arborx;$HOME/hypre " -DCabana_ENABLE_TESTING=ON -DCabana_ENABLE_EXAMPLES=ON -DCabana_REQUIRE_${{ matrix.backend }}=ON -DVALGRIND_EXECUTABLE=False ${{ github.event.inputs.cmake_args }}
5269 cmake --build build --parallel 2
5370 ctest --test-dir build --output-on-failure ${{ github.event.inputs.ctest_args }}
5471 cmake --install build
You can’t perform that action at this time.
0 commit comments