[yt-svn] commit/yt: MatthewTurk: Issue a warning about CFLAGS not being empty.

Bitbucket commits-noreply at bitbucket.org
Tue Apr 3 10:40:16 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/2af699ff04a4/
changeset:   2af699ff04a4
branch:      yt
user:        MatthewTurk
date:        2012-04-03 19:40:04
summary:     Issue a warning about CFLAGS not being empty.
affected #:  1 file

diff -r 7a3111b831b6fe072519344c415a727443a03775 -r 2af699ff04a4d28d0494cd18f727a3a0b7f6a2e5 doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -180,6 +180,17 @@
         echo "$ export CXX=g++-4.2"
         echo
     fi
+    if [ ! -z "${CFLAGS}" ]
+    then
+        echo "******************************************"
+        echo "******************************************"
+        echo "**                                      **"
+        echo "**    Your CFLAGS is not empty.         **"
+        echo "**    This can beak h5py compilation.   **"
+        echo "**                                      **"
+        echo "******************************************"
+        echo "******************************************"
+    fi
 }

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list