diff options
author | Abhilash Majumder <30946547+abhilash1910@users.noreply.github.com> | 2024-02-19 14:45:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 11:15:18 +0200 |
commit | 13e2c771aa4212cd5405cf310203848d50f7f859 (patch) | |
tree | 2b2d8480ebb152ccba0d07132f18cfb933cd3217 | |
parent | f53119cec4f073b6d214195ecbe1fad3abdf2b34 (diff) |
cmake : remove obsolete sycl compile flags (#5581)
* rm unwanted sycl compile options
* fix bug
* fix bug
* format fix
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f5e7f298..40a098d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -741,13 +741,6 @@ function(get_flags CCID CCVER) if (CCVER VERSION_GREATER_EQUAL 8.1.0) list(APPEND CXX_FLAGS -Wextra-semi) endif() - elseif (CCID MATCHES "Intel") - if (NOT LLAMA_SYCL) - # enable max optimization level when using Intel compiler - set(C_FLAGS -ipo -O3 -static -fp-model=fast -flto -fno-stack-protector) - set(CXX_FLAGS -ipo -O3 -static -fp-model=fast -flto -fno-stack-protector) - add_link_options(-fuse-ld=lld -static-intel) - endif() endif() set(GF_C_FLAGS ${C_FLAGS} PARENT_SCOPE) |