From 60c6371dd106150b8191a5cb6bf2cae40502d861 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 1 Apr 2024 09:07:36 -0500 Subject: [PATCH] no copy --- recipe/build_openmm.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipe/build_openmm.sh b/recipe/build_openmm.sh index 3e6518f..52ac783 100644 --- a/recipe/build_openmm.sh +++ b/recipe/build_openmm.sh @@ -19,9 +19,7 @@ if [[ "$use_conda_compilers" == "0" ]]; then /usr/bin/sudo -n yum install -y centos-release-scl /usr/bin/sudo -n yum install -y devtoolset-11-gcc "devtoolset-11-gcc-c++" #source /opt/rh/devtoolset-11/enable - LIBGCC_DIR_OLD=$(dirname $(/opt/rh/devtoolset-11/root/usr/bin/gcc -print-libgcc-file-name)) - LIBGCC_DIR=$(dirname $($CC -print-libgcc-file-name)) - cp ${LIBGCC_DIR_OLD}/libstdc++* ${LIBGCC_DIR} + LIBGCC_DIR=$(dirname $(/opt/rh/devtoolset-11/root/usr/bin/gcc -print-libgcc-file-name)) export LDFLAGS="-L$LIBGCC_DIR $LDFLAGS" export CXXFLAGS="$CXXFLAGS -D_GLIBCXX_USE_CXX11_ABI=0"