From fa76f06b00dfaaaaa701eece53d7558d23f77936 Mon Sep 17 00:00:00 2001 From: egluckthaler Date: Sun, 17 Dec 2023 21:30:35 -0600 Subject: [PATCH] try foce-reinstall of gcc_linux-64 --- .github/workflows/conda_build.yml | 2 +- build.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conda_build.yml b/.github/workflows/conda_build.yml index 094acd7b..12edc08d 100644 --- a/.github/workflows/conda_build.yml +++ b/.github/workflows/conda_build.yml @@ -28,7 +28,7 @@ jobs: run: | conda config --add channels bioconda conda config --add channels conda-forge - conda install conda-build conda-verify gcc_linux-64 + conda install conda-build conda-verify conda build . # This step installs conda-build and then uses it to build your Conda package. diff --git a/build.sh b/build.sh index 8b8b7bd3..f6d5e13d 100644 --- a/build.sh +++ b/build.sh @@ -1,3 +1,6 @@ +# Install g++ compiler +conda install -c conda-forge gcc_linux-64 --force-reinstall + # Set environment variables to use the Conda environment's compilers export CC=$CONDA_PREFIX/bin/x86_64-conda-linux-gnu-gcc export CXX=$CONDA_PREFIX/bin/x86_64-conda-linux-gnu-g++