Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 177f21a

Browse files
committed
add -ftemplate-backtrace-limit=0 only UNIX
1 parent 07325e2 commit 177f21a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ else()
6666
set(XETLA_KERNEL_FLAGS ${XETLA_KERNEL_FLAGS} -Xs "${XETLA_OFFLINE_OPTIONS}")
6767
endif()
6868

69-
add_compile_options(-fsycl -fsycl-device-code-split=per_kernel -ftemplate-backtrace-limit=0)
69+
add_compile_options(-fsycl -fsycl-device-code-split=per_kernel)
7070
add_compile_options(-Wall -Wextra -Werror)
7171

7272
include(ProcessorCount)
@@ -75,7 +75,7 @@ add_link_options(-fsycl -fsycl-device-code-split=per_kernel -fsycl-max-parallel-
7575
add_link_options(${XETLA_KERNEL_FLAGS})
7676

7777
if(UNIX)
78-
add_compile_options(-fp-model=precise)
78+
add_compile_options(-fp-model=precise -ftemplate-backtrace-limit=0)
7979
add_link_options(-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm)
8080
link_libraries(-lgtest -lgtest_main)
8181
else() # Windows

0 commit comments

Comments
 (0)