File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,6 @@ include(CMakePackageConfigHelpers)
33
33
include (GNUInstallDirs )
34
34
find_package (PkgConfig )
35
35
36
- if (CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM" )
37
- # Compiler dependencies needs to be in library path or to be linked
38
- # statically
39
- add_link_options (-static-intel )
40
- endif ()
41
-
42
36
# Build Options
43
37
option (UMF_BUILD_SHARED_LIBRARY "Build UMF as shared library" OFF )
44
38
option (UMF_BUILD_LEVEL_ZERO_PROVIDER "Build Level Zero memory provider" ON )
Original file line number Diff line number Diff line change 1
- # Copyright (C) 2023-2024 Intel Corporation
1
+ # Copyright (C) 2023-2025 Intel Corporation
2
2
# Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
3
3
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
4
@@ -378,6 +378,9 @@ function(add_umf_library)
378
378
elseif (LINUX )
379
379
target_link_options (${ARG_NAME} PRIVATE
380
380
"-Wl,--version-script=${ARG_LINUX_MAP_FILE} " )
381
+ if (CMAKE_C_COMPILER_ID STREQUAL "IntelLLVM" )
382
+ target_link_options (${ARG_NAME} PRIVATE -no-intel-lib )
383
+ endif ()
381
384
endif ()
382
385
endif ()
383
386
You can’t perform that action at this time.
0 commit comments