Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Martin Willers
KWSys
Commits
51e95ba7
Commit
51e95ba7
authored
7 years ago
by
Chuck Atkins
Browse files
Options
Downloads
Patches
Plain Diff
XL: Fix compatibility with newer clang-based XL on Linux
parent
8785f84f
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
CMakeLists.txt
+5
-1
5 additions, 1 deletion
CMakeLists.txt
with
5 additions
and
1 deletion
CMakeLists.txt
+
5
−
1
View file @
51e95ba7
...
...
@@ -1039,8 +1039,12 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# Some Apple compilers produce bad optimizations in this source.
IF
(
APPLE AND CMAKE_C_COMPILER_ID MATCHES
"^(GNU|LLVM)$"
)
SET_SOURCE_FILES_PROPERTIES
(
testProcess.c PROPERTIES COMPILE_FLAGS -O0
)
ELSEIF
(
CMAKE_C_COMPILER_ID STREQUAL
"XL"
)
ELSEIF
(
CMAKE_C_COMPILER_ID STREQUAL
"XL"
AND
NOT
(
CMAKE_SYSTEM MATCHES
"Linux.*ppc64le"
AND
NOT CMAKE_C_COMPILER_VERSION VERSION_LESS
"13.1.1"
))
# Tell IBM XL not to warn about our test infinite loop
# v13.1.1 and newer on Linux ppc64le is clang based and does not accept
# the -qsuppress option
SET_PROPERTY
(
SOURCE testProcess.c PROPERTY COMPILE_FLAGS -qsuppress=1500-010
)
ENDIF
()
...
...
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