Skip to content

Commit 13e2c77

Browse files
authored
cmake : remove obsolete sycl compile flags (#5581)
* rm unwanted sycl compile options * fix bug * fix bug * format fix
1 parent f53119c commit 13e2c77

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -741,13 +741,6 @@ function(get_flags CCID CCVER)
741741
if (CCVER VERSION_GREATER_EQUAL 8.1.0)
742742
list(APPEND CXX_FLAGS -Wextra-semi)
743743
endif()
744-
elseif (CCID MATCHES "Intel")
745-
if (NOT LLAMA_SYCL)
746-
# enable max optimization level when using Intel compiler
747-
set(C_FLAGS -ipo -O3 -static -fp-model=fast -flto -fno-stack-protector)
748-
set(CXX_FLAGS -ipo -O3 -static -fp-model=fast -flto -fno-stack-protector)
749-
add_link_options(-fuse-ld=lld -static-intel)
750-
endif()
751744
endif()
752745
753746
set(GF_C_FLAGS ${C_FLAGS} PARENT_SCOPE)

0 commit comments

Comments
 (0)