1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2025-01-09 20:48:56 +01:00

install TREXIO in ci_install.sh script

This commit is contained in:
Evgeny Posenitskiy 2021-12-13 11:24:08 +01:00
parent 3a2a949899
commit c11403dff2
2 changed files with 18 additions and 9 deletions

View File

@ -27,15 +27,15 @@ jobs:
apt update apt update
apt -y install emacs pkg-config wget libhdf5-dev apt -y install emacs pkg-config wget libhdf5-dev
- name: Install trexio # - name: Install trexio
run: | # run: |
export VERSION=2.0 # export VERSION=2.0
wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz # wget https://github.com/TREX-CoE/trexio/releases/download/v${VERSION}/trexio-${VERSION}.0.tar.gz
tar -zxf trexio-${VERSION}.0.tar.gz # tar -zxf trexio-${VERSION}.0.tar.gz
cd trexio-${VERSION}.0 # cd trexio-${VERSION}.0
./configure --prefix=/usr CC="verificarlo-c" FC="verificarlo-f" # ./configure --prefix=/usr CC="verificarlo-c" FC="verificarlo-f"
make -j4 # make -j4
sudo make install # sudo make install
- name: Run tests - name: Run tests
run: vfc_ci test -g -r run: vfc_ci test -g -r

View File

@ -4,6 +4,15 @@
# the library dependencies and build it with Verificarlo with vfc_probes support # the library dependencies and build it with Verificarlo with vfc_probes support
# enabled. # 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 --host=x86_64 CC="verificarlo-c" FC="verificarlo-f"
make -j4
sudo make install
cd ..
./autogen.sh ./autogen.sh
QMCKL_DEVEL=1 ./configure --prefix=$PWD/_install \ QMCKL_DEVEL=1 ./configure --prefix=$PWD/_install \
--enable-silent-rules --enable-maintainer-mode --enable-vfc_ci --host=x86_64 \ --enable-silent-rules --enable-maintainer-mode --enable-vfc_ci --host=x86_64 \