Skip to content

Commit

Permalink
Fix all the Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
srbhp committed Dec 15, 2023
1 parent f8bf862 commit 056acb0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,20 @@ jobs:
&& sudo apt install intel-oneapi-mkl-devel intel-oneapi-compiler-dpcpp-cpp --yes
&& source /opt/intel/oneapi/setvars.sh

- name: Configure CMake
- name: Configure CMake and Build
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run:
source /opt/intel/oneapi/setvars.sh
&& which icpx
&& cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_FLAGS=" -D_GLIBCXX_USE_TBB_PAR_BACKEND=0 -std=c++20 -qopenmp -qmkl -fp-model precise " -DCMAKE_CXX_COMPILER=icpx .
- name: Build
# build
run:
source /opt/intel/oneapi/setvars.sh
&& cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -DCMAKE_CXX_FLAGS=" -D_GLIBCXX_USE_TBB_PAR_BACKEND=0 -std=c++20 -qopenmp -qmkl -fp-model precise " -DCMAKE_CXX_COMPILER=icpx
&& make -C ${{github.workspace}}/build -j12 all
&& touch ${{github.workspace}}/build/docs/sphinx/.nojekyll
# # - name: Build
# # build
# run:
# source /opt/intel/oneapi/setvars.sh
# && cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down

0 comments on commit 056acb0

Please sign in to comment.