mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
fix for eaf compilation on 32bit archs
This commit is contained in:
parent
7d6de97007
commit
bc6b362ced
2 changed files with 7 additions and 1 deletions
5
src/tools/eaf32bit_patch.sh
Executable file
5
src/tools/eaf32bit_patch.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
rm -f eaf32bit.patch
|
||||
wget -O - https://github.com/GlobalArrays/ga/commit/2554b4431087c43f411f3e59426b83f6e9c48bd1.patch | sed -e 's/ a\/pario/ '$1'\/pario/' | sed -e 's/ b\/pario/ '$1'\/pario/' > eaf32bit.patch
|
||||
patch -p0 -s -N < eaf32bit.patch
|
||||
echo eaf32bit.patch applied
|
||||
|
|
@ -203,8 +203,9 @@ GOTMINGW64=` $CC -dM -E - </dev/null 2> /dev/null |grep MINGW64|cut -c21 `
|
|||
if [[ -d "ga-5.9" ]]; then
|
||||
if [[ ! -f "ga-5.9/patched59" ]]; then
|
||||
./gasparse_patch.sh $GA_DIR
|
||||
./eaf32bit_patch.sh $GA_DIR
|
||||
echo patched
|
||||
touch ga-59/patched59
|
||||
touch ga-5.9/patched59
|
||||
fi
|
||||
fi
|
||||
#if [ ! -z "$GOTMINGW64" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue