Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
f8e0545e
Commit
f8e0545e
authored
Jul 18, 2015
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SSE choices on MacOs X
Improvement of Ressources.cmake for Mac
parent
3b54fc6c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
145 additions
and
132 deletions
+145
-132
CMakeLists.txt
CMakeLists.txt
+142
-129
CMakeModules/morse/Ressources.cmake
CMakeModules/morse/Ressources.cmake
+3
-3
No files found.
CMakeLists.txt
View file @
f8e0545e
This diff is collapsed.
Click to expand it.
CMakeModules/morse/Ressources.cmake
View file @
f8e0545e
...
...
@@ -43,9 +43,9 @@ if(NOT DEFINED PROCESSOR_COUNT)
if
(
APPLE
)
find_program
(
cmd_sys_pro
"system_profiler"
)
if
(
cmd_sys_pro
)
execute_process
(
COMMAND
${
cmd_sys_pro
}
OUTPUT_VARIABLE info
)
string
(
REGEX REPLACE
"^.*Total Number
O
f Cores: ([0-9]+).*$"
"
\\
1"
NUMBER_OF_CPU
"
${
info
}
"
)
execute_process
(
COMMAND
${
cmd_sys_pro
}
SPHardwareDataType
OUTPUT_VARIABLE info
)
string
(
REGEX REPLACE
"^.*Total Number
o
f Cores: ([0-9]+).*$"
"
\\
1"
NUMBER_OF_CPU
"
${
info
}
"
)
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment