Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Podhorszki, Norbert
ADIOS2
Merge requests
!185
Fix find adios1cmake
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Fix find adios1cmake
github/fork/pnorbert/fix-FindADIOS1cmake
into
master
Overview
1
Commits
4
Pipelines
0
Changes
19
Closed
Podhorszki, Norbert
requested to merge
github/fork/pnorbert/fix-FindADIOS1cmake
into
master
7 years ago
Overview
1
Commits
4
Pipelines
0
Changes
19
Expand
Created by: pnorbert
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
78e17395
4 commits,
5 years ago
19 files
+
1680
−
146
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
19
Search (e.g. *.vue) (Ctrl+P)
cmake/FindADIOS1.cmake
+
11
−
5
Options
@@ -117,14 +117,13 @@ find_program(ADIOS1_CONFIG NAME adios_config HINTS ${adios1_config_hints})
# check `adios_config` program ################################################
if
(
ADIOS1_CONFIG
)
execute_process
(
COMMAND
${
ADIOS1_CONFIG
}
${
adios1_config_opt
}
execute_process
(
COMMAND
${
ADIOS1_CONFIG
}
-c
${
adios1_config_opt
}
OUTPUT_VARIABLE adios1_config_out
RESULT_VARIABLE adios1_config_ret
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
adios1_config_ret EQUAL 0
)
string
(
REGEX MATCH
"CFLAGS=([^
\n
]*)"
adios1_match
"
${
adios1_config_out
}
"
)
string
(
REPLACE
" "
";"
adios1_match
"
${
CMAKE_MATCH_1
}
"
)
string
(
REPLACE
" "
";"
adios1_match
"
${
adios1_config_out
}
"
)
set
(
adios1_include_hints
)
set
(
ADIOS1_COMPILE_OPTIONS
)
foreach
(
OPT IN LISTS adios1_match
)
@@ -134,8 +133,15 @@ if(ADIOS1_CONFIG)
list
(
APPEND ADIOS1_COMPILE_OPTIONS
${
OPT
}
)
endif
()
endforeach
()
string
(
REGEX MATCH
"LDFLAGS=([^
\n
]*)"
adios1_match
"
${
adios1_config_out
}
"
)
string
(
REPLACE
" "
";"
adios1_match
"
${
CMAKE_MATCH_1
}
"
)
endif
()
execute_process
(
COMMAND
${
ADIOS1_CONFIG
}
-l
${
adios1_config_opt
}
OUTPUT_VARIABLE adios1_config_out
RESULT_VARIABLE adios1_config_ret
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
adios1_config_ret EQUAL 0
)
string
(
REPLACE
" "
";"
adios1_match
"
${
adios1_config_out
}
"
)
set
(
adios1_libs
)
set
(
adios1_lib_hints
)
set
(
adios1_lib_flags
)
Loading