Skip to content

Commit

Permalink
Merge pull request #519 from nicolasbock/build_debug
Browse files Browse the repository at this point in the history
Build debug
  • Loading branch information
cnegre authored Jul 12, 2021
2 parents aa2fa36 + 3f5b03a commit 782f514
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Prepare container
run: ./scripts/prepare-container.sh
- name: Build docs
run: ./build.sh docs
run: ./build.sh --debug docs

build:
name: Build and test the library (${{ matrix.JOBNAME }})
Expand Down
10 changes: 6 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ help() {
cat <<EOF
Usage:
This script can be used to build and test the bml library. The script has to
be given a command. Known commands are:
build.sh [--debug] COMMAND
This script can be used to build and test the bml library. The script
has to be given a COMMAND. Known commands are:
cleanup - Clean up and remove build and install directories
create - Create the build and install directories
Expand All @@ -36,8 +38,8 @@ check_indent - Check the indentation of the sources
tags - Create tags file for vim and emacs
dist - Generate a tar file (this only works with git)
The following environment variables can be set to influence the configuration
step and the build:
The following environment variables can be set to influence the
configuration step and the build:
EOF
set_defaults
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci-MPI-double-complex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export TESTING_EXTRA_ARGS="-R MPI-C-.*-double_complex"
export EXTRA_LINK_FLAGS=-lscalapack-openmpi
export BML_SCALAPACK=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-MPI-double-real.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export TESTING_EXTRA_ARGS="-R MPI-C-.*-double_real"
export EXTRA_LINK_FLAGS=-lscalapack-openmpi
export BML_SCALAPACK=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-MPI-single-complex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export TESTING_EXTRA_ARGS="-R MPI-C-.*-single_complex"
export EXTRA_LINK_FLAGS=-lscalapack-openmpi
export BML_SCALAPACK=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-MPI-single-real.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ export TESTING_EXTRA_ARGS="-R MPI-C-.*-single_real"
export EXTRA_LINK_FLAGS=-lscalapack-openmpi
export BML_SCALAPACK=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-C-double-complex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export BML_INTERNAL_BLAS=no
export TESTING_EXTRA_ARGS="-R C-.*-double_complex"
export BML_VALGRIND=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-C-double-real.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export BML_INTERNAL_BLAS=no
export TESTING_EXTRA_ARGS="-R C-.*-double_real"
export BML_VALGRIND=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-C-single-complex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export BML_INTERNAL_BLAS=no
export TESTING_EXTRA_ARGS="-R C-.*-single_complex"
export BML_VALGRIND=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-C-single-real.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export BML_INTERNAL_BLAS=no
export TESTING_EXTRA_ARGS="-R C-.*-single_real"
export BML_VALGRIND=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-Fortran-double-complex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ export BML_VALGRIND=yes
# Re-review once we have a backport of valgrind for Bionic.
export CMAKE_BUILD_TYPE=Release

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-Fortran-double-real.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ export BML_VALGRIND=yes
# Re-review once we have a backport of valgrind for Bionic.
export CMAKE_BUILD_TYPE=Release

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-Fortran-single-complex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ export BML_VALGRIND=yes
# Re-review once we have a backport of valgrind for Bionic.
export CMAKE_BUILD_TYPE=Release

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-11-Fortran-single-real.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ export BML_VALGRIND=yes
# Re-review once we have a backport of valgrind for Bionic.
export CMAKE_BUILD_TYPE=Release

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-4.8-test-1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export BUILD_SHARED_LIBS=yes
export BML_OPENMP=no
export BML_INTERNAL_BLAS=no

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-4.8-test-2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export BUILD_SHARED_LIBS=yes
export BML_OPENMP=no
export BML_INTERNAL_BLAS=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-4.8-test-3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export BUILD_SHARED_LIBS=yes
export BML_OPENMP=yes
export BML_INTERNAL_BLAS=no

${basedir}/build.sh testing
${basedir}/build.sh --debug testing
2 changes: 1 addition & 1 deletion scripts/ci-gcc-4.8-test-4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export BUILD_SHARED_LIBS=yes
export BML_OPENMP=yes
export BML_INTERNAL_BLAS=yes

${basedir}/build.sh testing
${basedir}/build.sh --debug testing

0 comments on commit 782f514

Please sign in to comment.