Skip to content

Commit

Permalink
Fixed for icpx
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Apr 25, 2023
1 parent 3d0108a commit fae0a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ jobs:
- name: build-ubuntu-icpx
cxx: icpx
install_oneapi: true
install_extra: g++-12 # for libstdc++
cxx_flags: --gcc-install-dir=/usr/lib/gcc/x86_64-linux-gnu/12
- name: build-ubuntu-nvc++
cxx: /opt/nvidia/hpc_sdk/Linux_x86_64/22.9/compilers/bin/nvc++
add_nvcpp_repo: true
Expand Down
2 changes: 1 addition & 1 deletion examples/viewcopy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ else()
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20)
target_compile_options(${PROJECT_NAME} PRIVATE -march=native)
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
target_compile_options(${PROJECT_NAME} PRIVATE -fbracket-depth=1500)
endif()

0 comments on commit fae0a22

Please sign in to comment.