A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a function xbt_os_get_numcores()
[simgrid.git]
/
buildtools
/
Cmake
/
Modules
/
FindNbCore.cmake
diff --git
a/buildtools/Cmake/Modules/FindNbCore.cmake
b/buildtools/Cmake/Modules/FindNbCore.cmake
index
a3c1809
..
4b3c593
100644
(file)
--- a/
buildtools/Cmake/Modules/FindNbCore.cmake
+++ b/
buildtools/Cmake/Modules/FindNbCore.cmake
@@
-1,6
+1,6
@@
if(NOT DEFINED PROCESSOR_COUNT)
- #
Unknown
:
- set(PROCESSOR_COUNT
0
)
+ #
Default
:
+ set(PROCESSOR_COUNT
1
)
# Linux:
set(cpuinfo_file "/proc/cpuinfo")