1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2025-01-08 04:19:15 +01:00

move TREXIO installation back to .yml file and downgrade to v.1.1.0

This commit is contained in:
Evgeny Posenitskiy 2021-12-13 13:34:56 +01:00
parent f664b8cca6
commit 9259af5552
2 changed files with 10 additions and 19 deletions

View File

@ -27,15 +27,16 @@ jobs:
apt update
apt -y install emacs pkg-config wget libhdf5-dev libblas-dev liblapack-dev
# - name: Install trexio
# run: |
# export VERSION=2.0
# wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz
# tar -zxf trexio-${VERSION}.0.tar.gz
# cd trexio-${VERSION}.0
# ./configure --prefix=/usr CC="verificarlo-c" FC="verificarlo-f"
# make -j4
# sudo make install
- name: Install trexio
run: |
export VERSION=1.1.0
wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.tar.gz
tar -zxf trexio-${VERSION}.tar.gz
cd trexio-${VERSION}
./configure --prefix=/usr CC="gcc-7" FC="gfortran-7"
# modify LDFLAGS to include -lhdf5_hl because autoconf sometime fails to detect the HL component
make LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5_hl"
make install
- name: Run tests
run: vfc_ci test -g -r

View File

@ -4,16 +4,6 @@
# the library dependencies and build it with Verificarlo with vfc_probes support
# enabled.
export VERSION=2.0
wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz
tar -zxf trexio-${VERSION}.0.tar.gz
cd trexio-${VERSION}.0
./configure --prefix=/usr CC="gcc-7" FC="gfortran-7"
# modify LDFLAGS to include -lhdf5_hl because autoconf sometime fails to detect the HL component
make LDFLAGS="-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5_hl"
make install
cd ..
./autogen.sh
QMCKL_DEVEL=1 ./configure --prefix=$PWD/_install \
--enable-silent-rules --enable-maintainer-mode --enable-vfc_ci --host=x86_64 \