-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI Contract: Build examples with external ADIOS
- Loading branch information
1 parent
ced424b
commit 3e51b18
Showing
7 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
source $(dirname $(readlink -f ${BASH_SOURCE}))/setup.sh | ||
|
||
cmake --build ${build_dir} -j8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
source $(dirname $(readlink -f ${BASH_SOURCE}))/setup.sh | ||
|
||
mkdir -p ${build_dir} | ||
cd ${build_dir} | ||
|
||
cmake -DCMAKE_INSTALL_PREFIX=${install_dir} ${source_dir} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
source $(dirname $(readlink -f ${BASH_SOURCE}))/setup.sh | ||
|
||
cmake --install ${build_dir} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
source_dir="/opt/adios2/source/examples" | ||
build_dir=$(readlink -f "${PWD}")/build | ||
install_dir=$(readlink -f "${PWD}")/install | ||
|
||
echo "source_dir = \"${source_dir}\"" | ||
echo "build_dir = \"${build_dir}\"" | ||
echo "install_dir = \"${install_dir}\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
source $(dirname $(readlink -f ${BASH_SOURCE}))/setup.sh | ||
|
||
${install_dir}/bin/adios2_hello_helloWorld |