mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 21:55:30 -04:00
check 64_to_32 conversion
This commit is contained in:
parent
4b0b154863
commit
deb5167c95
1 changed files with 19 additions and 0 deletions
19
travis/check_64_to_32.sh
Executable file
19
travis/check_64_to_32.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
cd src
|
||||
make 64_to_32 CONVERT_ALL=y
|
||||
make 32_to_64
|
||||
rm -f diff.out
|
||||
git diff -U0 . >& diff.out
|
||||
if [ $(wc -l diff.out | cut -d " " -f 1) != 0 ]; then
|
||||
cat diff.out
|
||||
echo "********** check_64_to_32 *********"
|
||||
echo "********** found missing files ****"
|
||||
echo "********** from USES_BLAS *********"
|
||||
grep 'diff --git' diff.out | cut -d ' ' -f 4 | sed -e "s/b\/src/src/"
|
||||
echo "***********************************"
|
||||
exit 1
|
||||
else
|
||||
echo "********** check_64_to_32 *********"
|
||||
echo "********** found no missing files ****"
|
||||
echo "********** from USES_BLAS *********"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue