Skip to content

Commit

Permalink
no copy
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf authored Apr 1, 2024
1 parent 9f83560 commit 60c6371
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recipe/build_openmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 60c6371

Please sign in to comment.