3 echo "##########################################################################"
5 echo "##########################################################################"
9 CONFIGURE_FLAGS=$CONFIGURE_FLAGS'CFLAGS=-m64 CXXFLAGS=-m64'
11 # Putting option enable-python=no
12 # Reason : compilation failure of python interface modules on FD24 (generated by swig in medfile)
13 # CEA decision 13/02/2017 : deactivation of the compilation of python interface modules because no need python interface
14 CONFIGURE_FLAGS=$CONFIGURE_FLAGS' --enable-python=no'
18 CONFIGURE_FLAGS=$CONFIGURE_FLAGS' --enable-parallel'
21 # the line "export F77=gfortran" is commented, as we think it is not useful.
22 # at least it should'n.
23 # If it happens to be necessary, we will correct automake procedure.
26 # In fact this line is necessary because when the g77 compiler exists on the machine,
27 # it is found before gfortran and it makes the compilation fail.
28 # A mail has been sent to Eric Fayolle to fix this bug.
29 # En attendant, on remet la ligne.
33 if [ -n "$SALOME_USE_64BIT_IDS" ]
35 echo "WARNING: user requested 64 bits encoding for integers..."
36 export FFLAGS=-fdefault-integer-8
37 export FFLAGS=$FFLAGS' -g -O2 -ffixed-line-length-none'
38 CONFIGURE_FLAGS=$CONFIGURE_FLAGS' --with-med_int=long'
40 FFLAGS="-g -O2 -ffixed-line-length-none"
45 $SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL FFLAGS="${FFLAGS}" $CONFIGURE_FLAGS
48 echo "ERROR on configure"
52 echo "*** make" $MAKE_OPTIONS
61 echo "*** make install"
65 echo "ERROR on make install"