Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fred Baksik
CMake
Commits
ea4cfb3b
Commit
ea4cfb3b
authored
2 years ago
by
Brad King
Browse files
Options
Downloads
Plain Diff
Merge branch 'backport-IntelLLVM-no-icpx-on-Windows'
parents
6b92224f
8834e4d6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/CMakeDetermineCXXCompiler.cmake
+7
-1
7 additions, 1 deletion
Modules/CMakeDetermineCXXCompiler.cmake
with
7 additions
and
1 deletion
Modules/CMakeDetermineCXXCompiler.cmake
+
7
−
1
View file @
ea4cfb3b
...
...
@@ -58,7 +58,13 @@ else()
# finally list compilers to try
if
(
NOT CMAKE_CXX_COMPILER_INIT
)
set
(
CMAKE_CXX_COMPILER_LIST CC
${
_CMAKE_TOOLCHAIN_PREFIX
}
c++
${
_CMAKE_TOOLCHAIN_PREFIX
}
g++ aCC cl bcc xlC icpx icx clang++
)
set
(
CMAKE_CXX_COMPILER_LIST CC
${
_CMAKE_TOOLCHAIN_PREFIX
}
c++
${
_CMAKE_TOOLCHAIN_PREFIX
}
g++ aCC cl bcc xlC
)
if
(
NOT CMAKE_HOST_WIN32
)
# FIXME(#24314): Add support for the GNU-like icpx compiler driver
# on Windows, first introduced by Intel oneAPI 2023.0.
list
(
APPEND CMAKE_CXX_COMPILER_LIST icpx
)
endif
()
list
(
APPEND CMAKE_CXX_COMPILER_LIST icx clang++
)
endif
()
_cmake_find_compiler
(
CXX
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment