Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
morse_cmake
Commits
19e081a3
Commit
19e081a3
authored
Jul 03, 2017
by
Mathieu Faverge
Browse files
Modify the integer size detection in oredring to update the size at each configuration
parent
41120c39
Changes
3
Show whitespace changes
Inline
Side-by-side
modules/find/FindMETIS.cmake
View file @
19e081a3
...
...
@@ -283,9 +283,11 @@ int main(int argc, char **argv) {
return 1;
}
"
)
unset
(
METIS_Idx_4 CACHE
)
unset
(
METIS_Idx_8 CACHE
)
check_c_source_runs
(
"
${
METIS_C_TEST_METIS_Idx_4
}
"
METIS_Idx_4
)
check_c_source_runs
(
"
${
METIS_C_TEST_METIS_Idx_8
}
"
METIS_Idx_8
)
if
(
NOT METIS_Idx_4
)
check_c_source_runs
(
"
${
METIS_C_TEST_METIS_Idx_8
}
"
METIS_Idx_8
)
if
(
NOT METIS_Idx_8
)
set
(
METIS_INTSIZE -1
)
else
()
...
...
modules/find/FindPTSCOTCH.cmake
View file @
19e081a3
...
...
@@ -401,9 +401,12 @@ int main(int argc, char **argv) {
return 1;
}
"
)
unset
(
PTSCOTCH_Num_4 CACHE
)
unset
(
PTSCOTCH_Num_8 CACHE
)
check_c_source_runs
(
"
${
PTSCOTCH_C_TEST_SCOTCH_Num_4
}
"
PTSCOTCH_Num_4
)
check_c_source_runs
(
"
${
PTSCOTCH_C_TEST_SCOTCH_Num_8
}
"
PTSCOTCH_Num_8
)
if
(
NOT PTSCOTCH_Num_4
)
check_c_source_runs
(
"
${
PTSCOTCH_C_TEST_SCOTCH_Num_8
}
"
PTSCOTCH_Num_8
)
if
(
NOT PTSCOTCH_Num_8
)
set
(
PTSCOTCH_INTSIZE -1
)
else
()
...
...
modules/find/FindSCOTCH.cmake
View file @
19e081a3
...
...
@@ -345,9 +345,12 @@ int main(int argc, char **argv) {
return 1;
}
"
)
unset
(
SCOTCH_Num_4 CACHE
)
unset
(
SCOTCH_Num_8 CACHE
)
check_c_source_runs
(
"
${
SCOTCH_C_TEST_SCOTCH_Num_4
}
"
SCOTCH_Num_4
)
check_c_source_runs
(
"
${
SCOTCH_C_TEST_SCOTCH_Num_8
}
"
SCOTCH_Num_8
)
if
(
NOT SCOTCH_Num_4
)
check_c_source_runs
(
"
${
SCOTCH_C_TEST_SCOTCH_Num_8
}
"
SCOTCH_Num_8
)
if
(
NOT SCOTCH_Num_8
)
set
(
SCOTCH_INTSIZE -1
)
else
()
...
...
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