cmake: fix detection of Fugaku native compilation
Change-Id: I4210e9b57223c3869464caea10c2d414e9484e14
This commit is contained in:
committed by
Masamichi Takagi
parent
11b9fe0377
commit
a5cf2019bc
@ -65,7 +65,7 @@ if(ENABLE_TOFU)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# when compiling on a compute-node
|
# when compiling on a compute-node
|
||||||
execute_process(COMMAND bash -c "grep $(hostname) /etc/opt/FJSVfefs/config/fefs_node1.csv 2>/dev/null | cut -d, -f2"
|
execute_process(COMMAND bash -c "grep $(hostname) /etc/opt/FJSVfefs/config/fefs_node1.csv 2>/dev/null | cut -d, -f2 | grep -o CN"
|
||||||
OUTPUT_VARIABLE FUGAKU_NODE_TYPE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_VARIABLE FUGAKU_NODE_TYPE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
if(FUGAKU_NODE_TYPE STREQUAL "CN")
|
if(FUGAKU_NODE_TYPE STREQUAL "CN")
|
||||||
option(ENABLE_FUGAKU_HACKS "Fugaku hacks" ON)
|
option(ENABLE_FUGAKU_HACKS "Fugaku hacks" ON)
|
||||||
|
|||||||
2
ihk
2
ihk
Submodule ihk updated: 2c16f87330...80e37b5e72
Reference in New Issue
Block a user