]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Update till last version
authormaintenance team <salome-mnt@opencascade.com>
Mon, 27 Aug 2007 08:33:14 +0000 (08:33 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Mon, 27 Aug 2007 08:33:14 +0000 (08:33 +0000)
config_files/CAS-6.2sp1.sh

index c8444be3bbc428addf529802b779c884fc4474bb..02ef0eb7a12cff7958279c448397aba9cbfe46ad 100755 (executable)
@@ -97,8 +97,6 @@ cd ${PRODUCT_DIR}_SRC
 # configure
 echo " +++++++++++ configure"
 if test `uname -m` = "x86_64" ; then
-    flags="$flags CFLAGS=-m64 -D_OCC64"
-    flags="$flags CXXFLAGS=-m64 -D_OCC64"
     flags="$flags --with-xmu-include=/usr/X11R6/include/X11"
     flags="$flags --with-xmu-library=/usr/X11R6/lib64"
 else
@@ -116,10 +114,17 @@ tkdir="`where_tk`"
 if [ $? -eq 0 ] ; then flags="$flags --with-tk=$tkdir"; fi
 dpsdir="`where_dps`"
 if [ $? -eq 0 ] ; then flags="$flags --with-dps-include=$dpsdir/include --with-dps-library=$dpsdir/lib"; fi
-flags="$flags --disable-debug --enable-production"
+flags="$flags --disable-jcas --disable-debug --enable-production"
 
 export CASROOT=${PRODUCT_DIR}_SRC
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG ./configure $flags --prefix=${PRODUCT_DIR}
+
+if test `uname -m` = "x86_64" ; then
+echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} $flags CFLAGS="-m64 -D_OCC64" CXXFLAGS="-m64 -D_OCC64" >> ${PRODUCT_DIR}/CONFIGURE.LOG"
+./configure --prefix=${PRODUCT_DIR} $flags CFLAGS="-m64 -D_OCC64" CXXFLAGS="-m64 -D_OCC64" >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${INSTALL_WORK}/errlog
+else
+echo "`pwd` -> ./configure --prefix=${PRODUCT_DIR} $flags  >> ${PRODUCT_DIR}/CONFIGURE.LOG"
+./configure --prefix=${PRODUCT_DIR} $flags >> ${PRODUCT_DIR}/CONFIGURE.LOG 2> ${INSTALL_WORK}/errlog
+fi
 
 # make
 echo " +++++++++++ make"