-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change updates the gcc-4.8 tests to use the same naming convention and test settings as the gcc-11 tests. The change also adds OPENMP for the Fortran tests. Signed-off-by: Nicolas Bock <nicolasbock@gmail.com>
- Loading branch information
1 parent
7d333a9
commit 116de2f
Showing
13 changed files
with
180 additions
and
20 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
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
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
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
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,36 @@ | ||
#!/bin/bash | ||
|
||
set -e -u -x | ||
|
||
basedir=$(readlink --canonicalize $(dirname $0)/..) | ||
|
||
export CC=${CC:-gcc-4.8} | ||
export CXX=${CXX:-g++-4.8} | ||
export FC=${FC:-gfortran-4.8} | ||
export BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:-no} | ||
export BML_OPENMP=${BML_OPENMP:-yes} | ||
export BML_INTERNAL_BLAS=${BML_INTERNAL_BLAS:-no} | ||
export TESTING_EXTRA_ARGS=${TESTING_EXTRA_ARGS:-"-R fortran-.*-double_complex"} | ||
export BML_VALGRIND=${BML_VALGRIND:-yes} | ||
|
||
# [nicolasbock] Valgrind cannot handle a Debug build with valgrind and | ||
# fails with: | ||
# | ||
# parse DIE(readdwarf3.c:3619): confused by: | ||
# <2><60e>: Abbrev Number: 25 (DW_TAG_subrange_type) | ||
# DW_AT_type : <42> | ||
# DW_AT_upper_bound : 4 byte block: 91 c0 7b 6 | ||
# parse_type_DIE: | ||
# --18653-- WARNING: Serious error when reading debug info | ||
# --18653-- When reading debug info from /home/runner/work/bml/bml/build/tests/Fortran-tests/bml-testf: | ||
# --18653-- confused by the above DIE | ||
# | ||
# Bionic ships with valgrind-3.13.0. This issue might be fixed with | ||
# later versions. | ||
# | ||
# Re-review once we have a backport of valgrind for Bionic. | ||
export CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} | ||
|
||
[[ -f ${basedir}/scripts/ci-defaults.sh ]] && . ${basedir}/scripts/ci-defaults.sh | ||
|
||
${basedir}/build.sh --debug testing |
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,36 @@ | ||
#!/bin/bash | ||
|
||
set -e -u -x | ||
|
||
basedir=$(readlink --canonicalize $(dirname $0)/..) | ||
|
||
export CC=${CC:-gcc-4.8} | ||
export CXX=${CXX:-g++-4.8} | ||
export FC=${FC:-gfortran-4.8} | ||
export BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:-no} | ||
export BML_OPENMP=${BML_OPENMP:-yes} | ||
export BML_INTERNAL_BLAS=${BML_INTERNAL_BLAS:-no} | ||
export TESTING_EXTRA_ARGS=${TESTING_EXTRA_ARGS:-"-R fortran-.*-double_real"} | ||
export BML_VALGRIND=${BML_VALGRIND:-yes} | ||
|
||
# [nicolasbock] Valgrind cannot handle a Debug build with valgrind and | ||
# fails with: | ||
# | ||
# parse DIE(readdwarf3.c:3619): confused by: | ||
# <2><60e>: Abbrev Number: 25 (DW_TAG_subrange_type) | ||
# DW_AT_type : <42> | ||
# DW_AT_upper_bound : 4 byte block: 91 c0 7b 6 | ||
# parse_type_DIE: | ||
# --18653-- WARNING: Serious error when reading debug info | ||
# --18653-- When reading debug info from /home/runner/work/bml/bml/build/tests/Fortran-tests/bml-testf: | ||
# --18653-- confused by the above DIE | ||
# | ||
# Bionic ships with valgrind-3.13.0. This issue might be fixed with | ||
# later versions. | ||
# | ||
# Re-review once we have a backport of valgrind for Bionic. | ||
export CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} | ||
|
||
[[ -f ${basedir}/scripts/ci-defaults.sh ]] && . ${basedir}/scripts/ci-defaults.sh | ||
|
||
${basedir}/build.sh --debug testing |
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,36 @@ | ||
#!/bin/bash | ||
|
||
set -e -u -x | ||
|
||
basedir=$(readlink --canonicalize $(dirname $0)/..) | ||
|
||
export CC=${CC:-gcc-4.8} | ||
export CXX=${CXX:-g++-4.8} | ||
export FC=${FC:-gfortran-4.8} | ||
export BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:-no} | ||
export BML_OPENMP=${BML_OPENMP:-yes} | ||
export BML_INTERNAL_BLAS=${BML_INTERNAL_BLAS:-no} | ||
export TESTING_EXTRA_ARGS=${TESTING_EXTRA_ARGS:-"-R fortran-.*-single_complex"} | ||
export BML_VALGRIND=${BML_VALGRIND:-yes} | ||
|
||
# [nicolasbock] Valgrind cannot handle a Debug build with valgrind and | ||
# fails with: | ||
# | ||
# parse DIE(readdwarf3.c:3619): confused by: | ||
# <2><60e>: Abbrev Number: 25 (DW_TAG_subrange_type) | ||
# DW_AT_type : <42> | ||
# DW_AT_upper_bound : 4 byte block: 91 c0 7b 6 | ||
# parse_type_DIE: | ||
# --18653-- WARNING: Serious error when reading debug info | ||
# --18653-- When reading debug info from /home/runner/work/bml/bml/build/tests/Fortran-tests/bml-testf: | ||
# --18653-- confused by the above DIE | ||
# | ||
# Bionic ships with valgrind-3.13.0. This issue might be fixed with | ||
# later versions. | ||
# | ||
# Re-review once we have a backport of valgrind for Bionic. | ||
export CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} | ||
|
||
[[ -f ${basedir}/scripts/ci-defaults.sh ]] && . ${basedir}/scripts/ci-defaults.sh | ||
|
||
${basedir}/build.sh --debug testing |
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,36 @@ | ||
#!/bin/bash | ||
|
||
set -e -u -x | ||
|
||
basedir=$(readlink --canonicalize $(dirname $0)/..) | ||
|
||
export CC=${CC:-gcc-4.8} | ||
export CXX=${CXX:-g++-4.8} | ||
export FC=${FC:-gfortran-4.8} | ||
export BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:-no} | ||
export BML_OPENMP=${BML_OPENMP:-yes} | ||
export BML_INTERNAL_BLAS=${BML_INTERNAL_BLAS:-no} | ||
export TESTING_EXTRA_ARGS=${TESTING_EXTRA_ARGS:-"-R fortran-.*-single_real"} | ||
export BML_VALGRIND=${BML_VALGRIND:-yes} | ||
|
||
# [nicolasbock] Valgrind cannot handle a Debug build with valgrind and | ||
# fails with: | ||
# | ||
# parse DIE(readdwarf3.c:3619): confused by: | ||
# <2><60e>: Abbrev Number: 25 (DW_TAG_subrange_type) | ||
# DW_AT_type : <42> | ||
# DW_AT_upper_bound : 4 byte block: 91 c0 7b 6 | ||
# parse_type_DIE: | ||
# --18653-- WARNING: Serious error when reading debug info | ||
# --18653-- When reading debug info from /home/runner/work/bml/bml/build/tests/Fortran-tests/bml-testf: | ||
# --18653-- confused by the above DIE | ||
# | ||
# Bionic ships with valgrind-3.13.0. This issue might be fixed with | ||
# later versions. | ||
# | ||
# Re-review once we have a backport of valgrind for Bionic. | ||
export CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} | ||
|
||
[[ -f ${basedir}/scripts/ci-defaults.sh ]] && . ${basedir}/scripts/ci-defaults.sh | ||
|
||
${basedir}/build.sh --debug testing |