Fixes and tweaks for version 1.0.1 #498
Workflow file for this run
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
name: core-linux | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: configure OS | |
run: | | |
# os level stuff | |
pwd | |
ls | |
set -x | |
export DEBIAN_FRONTEND="noninteractive" | |
export TZ="America/Los_Angeles" | |
sudo apt-get update -qq | |
sudo apt-get install -qq -y git-core gcc g++ \ | |
gfortran cmake subversion automake m4 \ | |
libgtest-dev libmkl-dev libopenblas-openmp-dev | |
- name: install BLAS++ | |
run: | | |
cd .. | |
git clone https://github.com/icl-utk-edu/blaspp.git | |
mkdir blaspp-build | |
cd blaspp-build | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`pwd`/../blaspp-install -Dbuild_tests=OFF ../blaspp | |
make -j2 install | |
- name: install Random123 | |
run: | | |
cd .. | |
git clone https://github.com/DEShawResearch/Random123.git | |
cd Random123/ | |
make prefix=`pwd`/../Random123-install install-include | |
- name: build and test RandBLAS (release) | |
run: | | |
cd .. | |
mkdir RandBLAS-build | |
cd RandBLAS-build | |
cmake -DCMAKE_BUILD_TYPE=Release \ | |
-Dblaspp_DIR=`pwd`/../blaspp-install/lib/cmake/blaspp/ \ | |
-DRandom123_DIR=`pwd`/../Random123-install/include/ \ | |
-DCMAKE_INSTALL_PREFIX=`pwd`/../RandBLAS-install \ | |
-DCMAKE_BINARY_DIR=`pwd` \ | |
`pwd`/../RandBLAS | |
make -j2 install | |
ctest --output-on-failure | |
- name: build and test RandBLAS (Debug/asan) | |
run: | | |
cd .. | |
mkdir RandBLAS-asan-build | |
cd RandBLAS-asan-build | |
cmake -DCMAKE_BUILD_TYPE=Debug \ | |
-DSANITIZE_ADDRESS=ON \ | |
-Dblaspp_DIR=`pwd`/../blaspp-install/lib/cmake/blaspp/ \ | |
-DRandom123_DIR=`pwd`/../Random123-install/include/ \ | |
-DCMAKE_INSTALL_PREFIX=`pwd`/../RandBLAS-install \ | |
-DCMAKE_BINARY_DIR=`pwd` \ | |
`pwd`/../RandBLAS | |
make -j2 install | |
ctest --output-on-failure |