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
inastemp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
COULAUD Olivier
inastemp
Commits
a69d0220
Commit
a69d0220
authored
Aug 09, 2016
by
Berenger Bramas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cmake -- ensure we can choose the iSDE arch for the cmake detection stage
parent
0883f6f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
CMakeModules/GetCpuInfos.cmake
CMakeModules/GetCpuInfos.cmake
+4
-1
No files found.
CMakeModules/GetCpuInfos.cmake
View file @
a69d0220
...
...
@@ -25,8 +25,11 @@ OPTION( INASTEMP_ISDE_CPU "Set to ON to run the CPU detection over sde64" OFF )
# Compile and execute the file
if
(
INASTEMP_ISDE_CPU
)
SET
(
INASTEMP_ISDE_CPU_ARGS
"-knl"
CACHE STRING
"Arguments for sde64"
)
if
(
$ENV{VERBOSE}
)
message
(
STATUS
"GetCpuInfosFile -- use intel SDE"
)
message
(
STATUS
"GetCpuInfosFile -- INASTEMP_ISDE_CPU_ARGS =
${
INASTEMP_ISDE_CPU_ARGS
}
"
)
endif
()
get_filename_component
(
...
...
@@ -47,7 +50,7 @@ if(INASTEMP_ISDE_CPU)
message
(
FATAL_ERROR
"The GetCpuInfosFile compiled file does not exist (
${
GetCpuInfosFileExec
}
)"
)
endif
()
exec_program
(
"sde64 --
${
GetCpuInfosFileExec
}
"
${
CMAKE_CURRENT_BINARY_DIR
}
exec_program
(
"sde64
${
INASTEMP_ISDE_CPU_ARGS
}
--
${
GetCpuInfosFileExec
}
"
${
CMAKE_CURRENT_BINARY_DIR
}
OUTPUT_VARIABLE run
RETURN_VALUE RUN_RESULT_VAR
)
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