Fix removal of compiler
This commit is contained in:
parent
1acd702d97
commit
9a68723f90
@ -36,6 +36,7 @@ From: ubuntu:22.04
|
||||
./install_champ.sh
|
||||
|
||||
./cleanup_oneapi.sh
|
||||
apt remove -y wget make pkg-config pgpgpg git python3-pip cmake
|
||||
|
||||
apt install -y bash vim emacs-nox
|
||||
apt autoremove -y
|
||||
|
@ -3,7 +3,7 @@ export LANGUAGE=$LANG
|
||||
export LC_ALL=$LANG
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
source /opt/intel/oneapi/setvars.sh
|
||||
source /opt/intel/oneapi/setvars.sh || :
|
||||
|
||||
export FC=ifort
|
||||
export CC=icx
|
||||
|
@ -24,8 +24,6 @@ cmake --build build -j 8
|
||||
|
||||
rm -rf compile-* docs tests build lib
|
||||
|
||||
apt remove -y cmake git make gcc g++
|
||||
|
||||
# Test
|
||||
ls bin/vmc.mov1 || exit 1
|
||||
ls bin/dmc.mov1 || exit 1
|
||||
|
@ -30,8 +30,6 @@ ln -s /opt/intel/oneapi/compiler/latest/bin/icx.cfg /opt/icx.cfg
|
||||
|
||||
echo "-diag-disable=10448" > /opt/ifort.cfg
|
||||
|
||||
apt remove -y wget pgpgpg
|
||||
|
||||
# Test
|
||||
|
||||
cd /opt
|
||||
|
@ -62,7 +62,6 @@ cd ..
|
||||
cd ..
|
||||
rm -rf qmckl-1.0.0 qmckl-1.0.0.tar.gz
|
||||
|
||||
apt remove -y wget make pkg-config gcc gfortran
|
||||
|
||||
|
||||
# Test
|
||||
|
@ -18,4 +18,3 @@ make install
|
||||
cd ..
|
||||
rm -rf trexio-2.4.2 trexio-2.4.2.tar.gz
|
||||
|
||||
apt remove -y wget gcc gfortran
|
||||
|
@ -14,4 +14,4 @@ pip install .
|
||||
cd ..
|
||||
|
||||
rm -rf trexio_tools
|
||||
apt remove -y git python3-pip
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user