parser.add_option('l', 'list', 'boolean', 'list',
_("list all available applications."))
parser.add_option('c', 'copy', 'boolean', 'copy',
- _("""copy a config file to the personnal config files directory.
+ _("""copy a config file to the personal config files directory.
\tWARNING the included files are not copied.
\tIf a name is given the new config file takes the given name."""))
parser.add_option('n', 'no_label', 'boolean', 'no_label',
def __init__(self, pathList):
'''Initialization
- :param pathList list: The list of paths where to serach a pyconf.
+ :param pathList list: The list of paths where to search a pyconf.
'''
self.pathList = pathList
var['personalDir'] = os.path.join(os.path.expanduser('~'),
'.salomeTools')
+ src.ensure_path_exists(var['personalDir'])
+
+ var['personal_applications_dir'] = os.path.join(var['personalDir'],
+ "Applications")
+ src.ensure_path_exists(var['personal_applications_dir'])
+
+ var['personal_products_dir'] = os.path.join(var['personalDir'],
+ "products")
+ src.ensure_path_exists(var['personal_products_dir'])
+
+ var['personal_archives_dir'] = os.path.join(var['personalDir'],
+ "Archives")
+ src.ensure_path_exists(var['personal_archives_dir'])
+
+ var['personal_jobs_dir'] = os.path.join(var['personalDir'],
+ "Jobs")
+ src.ensure_path_exists(var['personal_jobs_dir'])
+
+ var['personal_machines_dir'] = os.path.join(var['personalDir'],
+ "Machines")
+ src.ensure_path_exists(var['personal_machines_dir'])
# read linux distributions dictionary
distrib_cfg = src.pyconf.Config(os.path.join(var['srcDir'],
# apply overwrite from command line if needed
for rule in self.get_command_line_overrides(options, ["INTERNAL"]):
exec('cfg.' + rule) # this cannot be factorized because of the exec
-
+
# =====================================================================
# Load SITE config file
# search only in the data directory
+ "site.pyconf and edit the file")
raise src.SatException( e );
- # add user local path for configPath
- site_cfg.SITE.config.config_path.append(
- os.path.join(cfg.VARS.personalDir, 'Applications'),
- "User applications path")
-
merger.merge(cfg, site_cfg)
# apply overwrite from command line if needed
for rule in self.get_command_line_overrides(options, ["SITE"]):
exec('cfg.' + rule) # this cannot be factorized because of the exec
-
+ # =====================================================================
+ # Load the PROJECTS
+ if "PROJECTS" in cfg:
+ cfg.PROJECTS.addMapping("projects",
+ src.pyconf.Mapping(cfg.PROJECTS),
+ "The projects definition\n")
+ for project_pyconf_path in cfg.PROJECTS.project_file_paths:
+ if not os.path.exists(project_pyconf_path):
+ #msg = _("WARNING: The project file %s cannot be found. "
+ # "It will be ignored\n" % project_pyconf_path)
+ #sys.stdout.write(src.printcolors.printcWarning(msg))
+ continue
+ project_name = os.path.basename(
+ project_pyconf_path)[:-len(".pyconf")]
+ try:
+ project_cfg = src.pyconf.Config(open(project_pyconf_path))
+ except Exception as e:
+ raise src.SatException(_("Error in configuration file: "
+ "%(file_path)s\n %(error)s") % \
+ {'file_path' : project_cfg, 'error': str(e) })
+ cfg.PROJECTS.projects.addMapping(project_name,
+ src.pyconf.Mapping(cfg.PROJECTS.projects),
+ "The %s project\n" % project_name)
+ cfg.PROJECTS.projects[project_name]=project_cfg
+ cfg.PROJECTS.projects[project_name]["file_path"] = \
+ project_pyconf_path
+
+
+ # apply overwrite from command line if needed
+ for rule in self.get_command_line_overrides(options, ["PROJECTS"]):
+ exec('cfg.' + rule) # this cannot be factorized because of the exec
+
+ # =====================================================================
+ # Create the paths where to search the application configurations,
+ # the product configurations, the products archives,
+ # the jobs configurations and the machines configurations
+ cfg.addMapping("PATHS", src.pyconf.Mapping(cfg), "The paths\n")
+ cfg.PATHS["APPLICATIONPATH"] = src.pyconf.Sequence(cfg.PATHS)
+ cfg.PATHS.APPLICATIONPATH.append(cfg.VARS.personal_applications_dir, "")
+
+ cfg.PATHS["PRODUCTPATH"] = src.pyconf.Sequence(cfg.PATHS)
+ cfg.PATHS.PRODUCTPATH.append(cfg.VARS.personal_products_dir, "")
+ cfg.PATHS["ARCHIVEPATH"] = src.pyconf.Sequence(cfg.PATHS)
+ cfg.PATHS.ARCHIVEPATH.append(cfg.VARS.personal_archives_dir, "")
+ cfg.PATHS["JOBPATH"] = src.pyconf.Sequence(cfg.PATHS)
+ cfg.PATHS.JOBPATH.append(cfg.VARS.personal_jobs_dir, "")
+ cfg.PATHS["MACHINEPATH"] = src.pyconf.Sequence(cfg.PATHS)
+ cfg.PATHS.MACHINEPATH.append(cfg.VARS.personal_machines_dir, "")
+ # Loop over the projects in order to complete the PATHS variables
+ for project in cfg.PROJECTS.projects:
+ for PATH in ["APPLICATIONPATH",
+ "PRODUCTPATH",
+ "ARCHIVEPATH",
+ "JOBPATH",
+ "MACHINEPATH"]:
+ if PATH not in cfg.PROJECTS.projects[project]:
+ continue
+ cfg.PATHS[PATH].append(cfg.PROJECTS.projects[project][PATH], "")
+
+ # apply overwrite from command line if needed
+ for rule in self.get_command_line_overrides(options, ["PATHS"]):
+ exec('cfg.' + rule) # this cannot be factorized because of the exec
+
+ # =====================================================================
+ # Load product config files in PRODUCTS section
+ products_cfg = src.pyconf.Config()
+ products_cfg.addMapping("PRODUCTS",
+ src.pyconf.Mapping(products_cfg),
+ "The products\n")
+ src.pyconf.streamOpener = ConfigOpener(cfg.PATHS.PRODUCTPATH)
+ for products_dir in cfg.PATHS.PRODUCTPATH:
+ # Loop on all files that are in softsDir directory
+ # and read their config
+ for fName in os.listdir(products_dir):
+ if fName.endswith(".pyconf"):
+ pName = fName[:-len(".pyconf")]
+ if pName in products_cfg.PRODUCTS:
+ continue
+ try:
+ prod_cfg = src.pyconf.Config(open(
+ os.path.join(products_dir,
+ fName)))
+ except src.pyconf.ConfigError as e:
+ raise src.SatException(_(
+ "Error in configuration file: %(prod)s\n %(error)s") % \
+ {'prod' : fName, 'error': str(e) })
+ except IOError as error:
+ e = str(error)
+ raise src.SatException( e );
+ except Exception as e:
+ raise src.SatException(_(
+ "Error in configuration file: %(prod)s\n %(error)s") % \
+ {'prod' : fName, 'error': str(e) })
+
+ products_cfg.PRODUCTS[pName] = prod_cfg
+
+ merger.merge(cfg, products_cfg)
+
+ # apply overwrite from command line if needed
+ for rule in self.get_command_line_overrides(options, ["PRODUCTS"]):
+ exec('cfg.' + rule) # this cannot be factorized because of the exec
+
# =====================================================================
# Load APPLICATION config file
if application is not None:
# search APPLICATION file in all directories in configPath
- cp = cfg.SITE.config.config_path
+ cp = cfg.PATHS.APPLICATIONPATH
src.pyconf.streamOpener = ConfigOpener(cp)
try:
application_cfg = src.pyconf.Config(application + '.pyconf')
'launcher_name' not in cfg.APPLICATION.profile):
cfg.APPLICATION.profile.launcher_name = 'salome'
- # =====================================================================
- # Load product config files in PRODUCTS section
-
- # The directory containing the softwares definition
- products_dir = os.path.join(cfg.VARS.datadir, 'products')
-
- # Loop on all files that are in softsDir directory
- # and read their config
- for fName in os.listdir(products_dir):
- if fName.endswith(".pyconf"):
- src.pyconf.streamOpener = ConfigOpener([products_dir])
- try:
- prod_cfg = src.pyconf.Config(open(
- os.path.join(products_dir, fName)))
- except src.pyconf.ConfigError as e:
- raise src.SatException(_(
- "Error in configuration file: %(prod)s\n %(error)s") % \
- {'prod' : fName, 'error': str(e) })
- except IOError as error:
- e = str(error)
- raise src.SatException( e );
- except Exception as e:
- raise src.SatException(_(
- "Error in configuration file: %(prod)s\n %(error)s") % \
- {'prod' : fName, 'error': str(e) })
-
- merger.merge(cfg.PRODUCTS, prod_cfg)
-
- # apply overwrite from command line if needed
- for rule in self.get_command_line_overrides(options, ["PRODUCTS"]):
- exec('cfg.' + rule) # this cannot be factorized because of the exec
-
-
# =====================================================================
# load USER config
self.set_user_config_file(cfg)
src.system.show_in_editor(editor, usercfg, logger)
else:
# search for file <application>.pyconf and open it
- for path in runner.cfg.SITE.config.config_path:
+ for path in runner.cfg.PATHS.APPLICATIONPATH:
pyconf_path = os.path.join(path,
runner.cfg.VARS.application + ".pyconf")
if os.path.exists(pyconf_path):
# get application file path
source = runner.cfg.VARS.application + '.pyconf'
source_full_path = ""
- for path in runner.cfg.SITE.config.config_path:
+ for path in runner.cfg.PATHS.APPLICATIONPATH:
# ignore personal directory
if path == runner.cfg.VARS.personalDir:
continue
if len(args) > 0:
# a name is given as parameter, use it
dest = args[0]
- elif 'copy_prefix' in runner.cfg.SITE.config:
+ elif 'copy_prefix' in runner.cfg.INTERNAL.config:
# use prefix
- dest = (runner.cfg.SITE.config.copy_prefix
+ dest = (runner.cfg.INTERNAL.config.copy_prefix
+ runner.cfg.VARS.application)
else:
# use same name as source
elif options.list:
lproduct = list()
# search in all directories that can have pyconf applications
- for path in runner.cfg.SITE.config.config_path:
+ for path in runner.cfg.PATHS.APPLICATIONPATH:
# print a header
if not options.no_label:
logger.write("------ %s\n" % src.printcolors.printcHeader(path))
logger.flush()
# Execute the command
code = sat_command(end_cmd,
- batch = True,
- verbose = 0,
- logger_add_link = logger)
+ batch = True,
+ verbose = 0,
+ logger_add_link = logger)
# Print the status of the command
if code == 0:
nb_pass += 1
# Logging
logger.write("\n", 4, False)
logger.write("################ ", 4)
- header = _("Make of %s") % src.printcolors.printcLabel(p_name)
+ header = _("Make install of %s") % src.printcolors.printcLabel(p_name)
header += " %s " % ("." * (20 - len(p_name)))
logger.write(header, 3)
logger.write("\n", 4, False)
+++ /dev/null
-#!/bin/bash
-
-echo "###############################################"
-echo "CASCADE" $VERSION
-echo "###############################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-echo
-echo "*** build_configure"
-./build_configure
-if [ $? -ne 0 ]
-then
- echo "ERROR on build_configure"
- exit 1
-fi
-
-echo
-echo "*** configure"
-./configure \
- --without-tcl --without-tk --disable-draw \
- --with-freetype=$FREETYPEDIR \
- --enable-debug=no --enable-production=yes \
- --with-gl2ps=$GL2PSDIR \
- --with-freeimage=$FREEIMAGEDIR \
- --prefix=$PRODUCT_INSTALL
-
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Homard" $VERSION
-echo "##########################################################################"
-
-echo
-echo "*** mkdir" $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on mkdir"
- exit 1
-fi
-
-echo
-echo "*** cp -r "$SOURCE_DIR"/* " $PRODUCT_INSTALL"/homard"
-cp -r $SOURCE_DIR/* $PRODUCT_INSTALL/homard
-if [ $? -ne 0 ]
-then
- echo "ERROR on cp"
- exit 2
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Jinja2" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-mkdir -p ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-
-# unset PYTHONDONTWRITEBYTECODE set by default on MD10
-PYTHONDONTWRITEBYTECODE=
-
-echo
-echo "*** setup.py"
-python setup.py install --prefix=${PRODUCT_INSTALL} --install-lib ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-if [ $? -ne 0 ]
-then
- echo "ERROR on setup"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "MeshGems" $VERSION
-echo "##########################################################################"
-
-echo
-echo "*** mkdir" $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on mkdir"
- exit 1
-fi
-
-echo
-echo "*** cp -r "$SOURCE_DIR"/* " $PRODUCT_INSTALL
-cp -r $SOURCE_DIR/* $PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on cp"
- exit 2
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "ParMetis" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** apply sed for 64bits platforms"
-sed -e 's/CC = mpicc/CC = mpicc -fPIC/g' Makefile.in > Makefile.in_new
-cp Makefile.in_new Makefile.in
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-# install
-echo "** install"
-mkdir -p $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL"/METISLib"
-mkdir -p $PRODUCT_INSTALL"/ParMETISLib"
-
-cp libparmetis.a $PRODUCT_INSTALL
-cp libmetis.a $PRODUCT_INSTALL
-cp parmetis.h $PRODUCT_INSTALL
-cp Graphs/ptest Graphs/mtest Graphs/parmetis Graphs/pometis $PRODUCT_INSTALL
-
-cp METISLib/*.h $PRODUCT_INSTALL"/METISLib"
-cp ParMETISLib/*.h $PRODUCT_INSTALL"/ParMETISLib"
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "ParaView" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-PVLIBVERSION=`echo ${VERSION} | awk -F. '{printf("%d.%d",$1,$2)}'`
-export python_name=python$PYTHON_VERSION
-
-CMAKE_OPTIONS=""
-
-### verbose log
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_VERBOSE_MAKEFILE=ON"
-
-### common settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_INSTALL}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DBUILD_SHARED_LIBS:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DBUILD_TESTING:BOOL=OFF"
-
-
-### compiler settings
-if [[ $BITS == "64" ]]
-then
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_CXX_FLAGS:STRING=-m64"
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_C_FLAGS:STRING=-m64"
-fi
-
-### Paraview general settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_USE_VISITBRIDGE=ON"
-
-if [ -n "$MPI_ROOT_DIR" ]
-then
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_USE_MPI:BOOL=ON"
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_CXX_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpic++"
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_C_COMPILER:STRING=${MPI_ROOT_DIR}/bin/mpicc"
-else
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_USE_MPI:BOOL=OFF"
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_CXX_COMPILER:STRING=`which g++`"
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_C_COMPILER:STRING=`which gcc`"
-fi
-
-### VTK general settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_USE_64BIT_IDS:BOOL=OFF" # issue 1779
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_NO_PYTHON_THREADS:BOOL=OFF" # Make sure Python is thread-safe in ParaView
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_REPORT_OPENGL_ERRORS:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_PYTHON_FULL_THREADSAFE=ON"
-### OpenGL2 backend for performance improvment
-# https://blog.kitware.com/new-opengl-rendering-in-vtk/
-#CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_RENDERING_BACKEND=OpenGL2"
-### OpenMP to speed computation of some filters
-# https://blog.kitware.com/simple-parallel-computing-with-vtksmptools-2/
-# https://blog.kitware.com/accelerated-filters-in-paraview-5/
-#CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP"
-
-### Qt settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_QT_GUI:BOOL=ON"
-if [ -n "$QT5_ROOT_DIR" ]
-then
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_QT_VERSION=5"
-fi
-
-### Python settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_ENABLE_PYTHON:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_EXECUTABLE:STRING=${PYTHON_ROOT_DIR}/bin/${python_name}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_INCLUDE_DIR:STRING=${PYTHON_ROOT_DIR}/include/${python_name}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPYTHON_LIBRARY:STRING=${PYTHON_ROOT_DIR}/lib/${python_name}/config/lib${python_name}.so"
-
-### No tcl tk wrap
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_WRAP_TCL:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_WRAP_JAVA:BOOL=OFF"
-
-### HDF5 settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_USE_SYSTEM_HDF5:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_DIR:PATH=${HDF5_ROOT_DIR}/share/cmake/hdf5"
-
-
-### VisIt Database bridge settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_USE_VISITBRIDGE=ON"
-
-### Boost settings (needed when activating VisIt bridge)
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DBOOST_ROOT=${BOOST_ROOT_DIR}"
-
-### gl2ps settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_USE_SYSTEM_GL2PS:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DGL2PS_INCLUDE_DIR:STRING=${GL2PS_ROOT_DIR}/include"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DGL2PS_LIBRARY:STRING=${GL2PS_ROOT_DIR}/lib/libgl2ps.so"
-
-### libxml2 settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DLIBXML2_INCLUDE_DIR:STRING=${LIBXML2_ROOT_DIR}/include/libxml2"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DLIBXML2_LIBRARIES:STRING=${LIBXML2_ROOT_DIR}/lib/libxml2.so"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DLIBXML2_XMLLINT_EXECUTABLE=${LIBXML2_ROOT_DIR}/bin/xmllint"
-
-### freetype settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DFREETYPE_INCLUDE_DIRS:STRING=${FREETYPE_ROOT_DIR}/include/freetype2"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DFREETYPE_LIBRARY:STRING=${FREETYPE_ROOT_DIR}/lib/libfreetype.so"
-
-### Extra options since OCC presta to improve Paraview for Salome
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_USE_3DGLYPH:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_USE_EXTENDED_OPENFILEDIALOG:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_USE_TIMECONTROL_SLIDER:BOOL=ON"
-
-### Extra options (switch off non-used Paraview plug-ins)
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_Moments:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_PrismPlugin:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_SierraPlotTools:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_PacMan:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_MobileRemoteControl:BOOL=OFF"
-
-### Extra options (switch on required Paraview plug-ins)
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_ForceTime:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_H5PartReader:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_PointSprite:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_SurfaceLIC:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_ENABLE_CATALYST:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DPARAVIEW_ENABLE_MATPLOTLIB:BOOL=ON"
-
-echo
-echo "*** cmake" ${CMAKE_OPTIONS}
-cmake ${CMAKE_OPTIONS} $SOURCE_DIR
-if [ $? -ne 0 ]
-then
- echo "ERROR on cmake"
- exit 1
-fi
-
-MAKE_OPTIONS="VERBOSE=1 "$MAKE_OPTIONS
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-cp -f ./VTK/VTKTargets.cmake $PRODUCT_INSTALL/lib/cmake/paraview-5.0/ && \
-sed -i "s%\(IMPORTED_LOCATION_RELEASE.*\"\).*/lib/\([^/]\+\"\)%\1${PRODUCT_INSTALL}/lib/paraview-${PVLIBVERSION}/\2%g" ${PRODUCT_INSTALL}/lib/cmake/paraview-${PVLIBVERSION}/VTKTargets.cmake && \
-sed -i "s%\(IMPORTED_LOCATION_RELEASE.*\"\).*/bin/\([^/]\+\"\)%\1${PRODUCT_INSTALL}/bin/\2%g" ${PRODUCT_INSTALL}/lib/cmake/paraview-${PVLIBVERSION}/VTKTargets.cmake && \
-sed -i "s%[^;\"]\+/qt-[0-9\.]\+/lib/\([^;]\+\)%${QTDIR}/lib/\1%g" ${PRODUCT_INSTALL}/lib/cmake/paraview-${PVLIBVERSION}/VTKTargets.cmake && \
-sed -i "s%[^;\"]\+/Python-[0-9\.]\+/lib/\([^;]\+\)%${PYTHON_ROOT_DIR}/lib/\1%g" ${PRODUCT_INSTALL}/lib/cmake/paraview-${PVLIBVERSION}/VTKTargets.cmake && \
-sed -i "s%[^;\"]\+/hdf5-[0-9\.]\+/lib/\([^;]\+\)%${HDF5_ROOT_DIR}/lib/\1%g" ${PRODUCT_INSTALL}/lib/cmake/paraview-${PVLIBVERSION}/VTKTargets.cmake && \
-sed -i "s%[^;\"]\+/gl2ps-[0-9\.]\+/lib/\([^;]\+\)%${GL2PS_ROOT_DIR}/lib/\1%g" ${PRODUCT_INSTALL}/lib/cmake/paraview-${PVLIBVERSION}/VTKTargets.cmake && \
-
-if [ $? -ne 0 ]
-then
- echo "ERROR on cp"
- exit 4
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "PyQt" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-python_name=python$PYTHON_VERSION
-
-echo
-echo "*** configure"
-python $SOURCE_DIR/configure.py --confirm-license --no-designer-plugin \
- --bindir=${PRODUCT_INSTALL}/bin \
- --destdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages \
- --sipdir=${PRODUCT_INSTALL}/sip \
- --plugin-destdir=${PRODUCT_INSTALL}/qt 2>&1
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Pygments" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-mkdir -p ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-
-# unset PYTHONDONTWRITEBYTECODE set by default on MD10
-PYTHONDONTWRITEBYTECODE=
-
-echo
-echo "*** setup.py"
-python setup.py install --prefix=${PRODUCT_INSTALL} --install-lib ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-if [ $? -ne 0 ]
-then
- echo "ERROR on setup"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Python" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-# WARNING $PYTHOSTARTUP can be problematic -> unset.
-# If an error occurs during make install then the environement is "messy"
-
-# check for readline library
-# if NO_CHECK_READLINE is not set and readline is not found the script will exit
-if [[ "x$NO_CHECK_READLINE" == "x" ]]
-then
- echo
- echo "*** check for readline library"
- python -c "import readline" &> /dev/null
- if [ $? -ne 0 ]
- then
- echo "ERROR readline library is not installed"
- echo "set environement variable NO_CHECK_READLINE to skip checking for readline library"
- exit 5
- else
- echo "readline library found"
- fi
-fi
-
-echo
-echo "*** configure"
-if [[ $DIST_NAME == "UB" ]]
-then
- export LDFLAGS="-L/usr/lib/x86_64-linux-gnu/"
- echo "set LDFLAGS=$LDFLAGS"
-fi
-
-################################## Hack the bug with <Lib64> on OpenSuse
-if [[ $DIST_NAME == "OS" ]]
-then
- echo
- echo "*** fix bug OpenSuse"
- VAR_PWD=`pwd`
- mkdir -p ${PRODUCT_INSTALL}
- echo
- echo "*** create missing link ${PRODUCT_INSTALL}/lib ${PRODUCT_INSTALL}/lib64"
- cd ${PRODUCT_INSTALL}
- mkdir lib
- ln -s lib lib64
- cd $VAR_PWD
-fi
-
-$SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL --enable-shared --with-threads --without-pymalloc --enable-unicode=ucs4
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-######### link for salome
-
-PYTHON_VERSION=`${PRODUCT_INSTALL}/bin/python -c "import sys; print sys.version[:3]"`
-if [ $? -ne 0 ]
-then
- PYTHON_VERSION="${VERSION:0:3}"
-fi
-
-cd ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/config
-
-if [ ! -e libpython${PYTHON_VERSION}.so ]
-then
- echo
- echo "*** create missing link"
- ln -sf ../../libpython${PYTHON_VERSION}.so .
- if [ $? -ne 0 ]
- then
- echo "ERROR when creating missing link"
- # no error here
- fi
-fi
-
-# changement des ent�tes
-#cd $PRODUCT_INSTALL/bin
-#for sc in idle pydoc smtpd.py ; do
-# if [ -e $sc ] ; then
-# sed -e "s%#\!.*python%#\!/usr/bin/env python%" "$sc" > _"$sc"
-# mv -f _"$sc" "$sc"
-# chmod a+x "$sc"
-# fi
-#done
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Sphinx" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-mkdir -p ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-
-# unset PYTHONDONTWRITEBYTECODE set by default on MD10
-PYTHONDONTWRITEBYTECODE=
-
-echo
-echo "*** setup.py"
-python setup.py install --prefix=${PRODUCT_INSTALL} --install-lib ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-if [ $? -ne 0 ]
-then
- echo "ERROR on setup"
- exit 3
-fi
-
-echo
-echo "*** fix binaires"
-PYTHON_BIN="${PYTHONHOME}/bin/python"
-echo "Replace '#!${PYTHON_BIN}' with '#!/usr/bin/env python'"
-sed -i "s|#!${PYTHON_BIN}|#!/usr/bin/env python|g" ${PRODUCT_INSTALL}/bin/*
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "BOOST" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cd $SOURCE_DIR
-
-if [ -n "$MPI_ROOT" ]
-then
- cp tools/build/v2/user-config.jam .
- echo "using mpi ;" >> user-config.jam
-fi
-
-echo
-echo "*** bootstrap.sh"
-./bootstrap.sh --prefix=$PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on bootstrap"
- exit 1
-fi
-
-echo "*** bjam install"
-if [ -n "$MPI_ROOT" ]
-then
- ./bjam --user-config=user-config.jam --layout=tagged install
-else
- ./bjam install
-fi
-if [ $? -ne 0 ]
-then
- echo "ERROR on bjam install"
- exit 3
-fi
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "cgnslib" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-# compilation
-echo "cgnslib compilation"
-
-CMAKE_OPTIONS=""
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_INSTALL}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-if [ -n "$MPI_ROOT" ]
-then
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_NEEDS_MPI:BOOL=ON"
-fi
-
-echo
-echo "*** cmake"
-cmake $CMAKE_OPTIONS $SOURCE_DIR
-if [ $? -ne 0 ]
-then
- echo "ERROR on cmake"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "cmake" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-echo
-echo "*** bootstrap"
-$SOURCE_DIR/bootstrap --prefix=${PRODUCT_INSTALL}
-if [ $? -ne 0 ]
-then
- echo "ERROR on bootstrap"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "cppunit" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-# compilation
-echo "cppunit compilation"
-
-echo
-echo "*** configure"
-$SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL --enable-static LDFLAGS="-ldl"
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "cython" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-echo `pwd`
-echo "*** copy sources in BUILD directory"
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** setup.py BUILD"
-python setup.py build
-if [ $? -ne 0 ]
-then
- echo "ERROR on build"
- exit 2
-fi
-
-mkdir -p $PRODUCT_INSTALL
-echo
-echo "*** install"
-python setup.py install --prefix=$PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on install"
- exit 3
-fi
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "python-dateutil" $VERSION
-echo "##########################################################################"
-
-rm -rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-echo
-
-cp -r $SOURCE_DIR/* .
-
-# Making a directory that will be used in install
-BUILD_DIR=`pwd`
-cd $PRODUCT_INSTALL
-mkdir -p lib/python2.7/site-packages
-cd $BUILD_DIR
-# Hack PYTHONPATH in order to make 'setup.py install' believe that PRODUCT_INSTALL is in PYTHONPATH
-PYTHONPATH_SAVE=$PYTHONPATH
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python2.7/site-packages:$PYTHONPATH
-
-echo "*** setup.py BUILD"
-python setup.py build
-
-
-echo "*** setup.py INSATALL"
-python setup.py install --prefix=${PRODUCT_INSTALL}
-
-if [ $? -ne 0 ]
-then
- export PYTHONPATH=$PYTHONPATH_SAVE
- echo "ERROR on setup"
- exit 3
-fi
-
-export PYTHONPATH=$PYTHONPATH_SAVE
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "distribute" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-echo
-
-cp -r $SOURCE_DIR/* .
-
-# Making a directory that will be used in install
-BUILD_DIR=`pwd`
-cd $PRODUCT_INSTALL
-mkdir -p lib/python2.7/site-packages
-cd $BUILD_DIR
-# Hack PYTHONPATH in order to make 'setup.py install' believe that PRODUCT_INSTALL is in PYTHONPATH
-PYTHONPATH_SAVE=$PYTHONPATH
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python2.7/site-packages:$PYTHONPATH
-
-echo "*** setup.py BUILD"
-python setup.py build
-
-
-echo "*** setup.py INSATALL"
-python setup.py install --prefix=${PRODUCT_INSTALL}
-
-if [ $? -ne 0 ]
-then
- export PYTHONPATH=$PYTHONPATH_SAVE
- echo "ERROR on setup"
- exit 3
-fi
-
-export PYTHONPATH=$PYTHONPATH_SAVE
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "docutil" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-mkdir -p ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-
-echo
-echo "setup.py"
-python setup.py install --prefix ${PRODUCT_INSTALL}
-if [ $? -ne 0 ]
-then
- echo "ERROR on setup"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "doxygen" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo "doxygen compilation"
-
-echo
-echo "*** configure"
-./configure --prefix $PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "fftw" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** configure"
-./configure --prefix=$PRODUCT_INSTALL --enable-shared --disable-static
-if [ $? -ne 0 ]
-then
- echo "ERROR on fftw"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "###############################################"
-echo "freeimage" $VERSION
-echo "###############################################"
-
-cp -r $SOURCE_DIR/* .
-
-# hack pour CO5.5
-if [[ $DIST_NAME == "CO" && $DIST_VERSION == "5.5" ]]
-then
- export CC=/usr/bin/gcc44
-fi
-
-
-rm -Rf $PRODUCT_INSTALL
-echo -n ".. Patching freeimage sources: fix build procedure..." && \
- sed -i "s%DESTDIR ?= /%DESTDIR ?= /usr%g;s%INCDIR ?= \$(DESTDIR)/usr/include%INCDIR ?= \$(DESTDIR)/include%g;s%INSTALLDIR ?= \$(DESTDIR)/usr/lib%INSTALLDIR ?= \$(DESTDIR)/lib%g;s%-o root -g root %%g" Makefile.gnu >& /dev/null && \
- sed -i "s%DESTDIR ?= /%DESTDIR ?= /usr%g;s%INCDIR ?= \$(DESTDIR)/usr/include%INCDIR ?= \$(DESTDIR)/include%g;s%INSTALLDIR ?= \$(DESTDIR)/usr/lib%INSTALLDIR ?= \$(DESTDIR)/lib%g;s%-o root -g root %%g" Makefile.fip >& /dev/null
- if [ "$?" != "0" ] ; then
- echo
- echo "Error: problem patching freeimage sources"
- echo
- return 1
- fi
- echo "OK"
-
- echo -n ".. Patching freeimage sources: gcc 4.7 compatibility..." && \
- sed -i 's%\(#include "OpenEXRConfig.h"\)%\1\n#include <string.h>%g' Source/OpenEXR/IlmImf/ImfAutoArray.h
- if [ "$?" != "0" ] ; then
- echo
- echo "Error: problem patching freeimage sources"
- echo
- fi
- echo "OK"
-
-echo
-echo "*** FreeImage: make" $MAKE_OPTIONS
-make -f Makefile.gnu
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** FreeImage: make install"
-make -f Makefile.gnu DESTDIR=$PRODUCT_INSTALL install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "*** FreeImage: make clean"
-make -f Makefile.gnu clean
-
-echo
-echo "*** FreeImagePlus: make" $MAKE_OPTIONS
-make -f Makefile.fip
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** FreeImagePlus: make install"
-make -f Makefile.fip DESTDIR=$PRODUCT_INSTALL install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "*** FreeImagePlus: make clean"
-make -f Makefile.fip clean
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "###############################################"
-echo "freetype" $VERSION
-echo "###############################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-echo
-echo "*** configure"
-if [[ $BITS == "64" ]]
-then
- $SOURCE_DIR/configure CFLAGS="-fPIC -m64" --prefix=$PRODUCT_INSTALL
-else
- $SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL
-fi
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-cp $PRODUCT_INSTALL/include/ft2build.h $PRODUCT_INSTALL/include/freetype2 #Fix for ParaView detection of ft2build.h
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "graphviz" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-if [ -e ${TCLHOME}/lib64/tcl${TCL_SHORT_VERSION}/graphviz ]
-then
- rm -rf ${TCLHOME}/lib64/tcl${TCL_SHORT_VERSION}/graphviz
-fi
-
-echo "graphviz compilation"
-# tcl natif
-if [ ${#TCLHOME} -eq 0 ]
-then
- TCLHOME="/usr"
-fi
-
-echo
-echo "*** ./configure --prefix=${PRODUCT_INSTALL} --with-tcl=${TCLHOME}/lib --with-expat=no --with-qt=no --with-cgraph=no --enable-perl=no"
-./configure --prefix=${PRODUCT_INSTALL} --with-tcl=${TCLHOME}/lib --with-expat=no --with-qt=no --with-cgraph=no --enable-perl=no
-
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" ${MAKE_OPTIONS}
-make ${MAKE_OPTIONS}
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "hdf5" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-CMAKE_OPTIONS=""
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_INSTALL}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-#CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_USE_16_API_DEFAULT:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DBUILD_SHARED_LIBS:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_ALLOW_EXTERNAL_SUPPORT:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_BUILD_HL_LIB:BOOL=ON"
-
-
-if [ -n "$MPI_ROOT" ]
-then
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_ENABLE_PARALLEL:BOOL=ON"
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_BUILD_CPP_LIB:BOOL=OFF"
-else
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_ENABLE_PARALLEL:BOOL=OFF"
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_BUILD_CPP_LIB:BOOL=ON"
-fi
-
-
-echo
-echo "*** cmake" $CMAKE_OPTIONS
-cmake $CMAKE_OPTIONS $SOURCE_DIR
-if [ $? -ne 0 ]
-then
- echo "ERROR on CMake"
- exit 1
-fi
-
-if [ -n "$MPI_ROOT" ]
-then
- sed -e 's/;//' -i src/CMakeFiles/H5make_libsettings.dir/link.txt
- sed -e 's/;//' -i src/CMakeFiles/H5detect.dir/link.txt
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "lapack" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-#echo "copy file"
-cp make.inc.example make.inc
-
-mkdir -p $PRODUCT_INSTALL
-cp -rp $SOURCE_DIR/* $PRODUCT_INSTALL/
-
-
-CMAKE_OPTIONS="$SOURCE_DIR"
-CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=$PRODUCT_INSTALL"
-CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_BUILD_TYPE=Release"
-CMAKE_OPTIONS="${CMAKE_OPTIONS} -DBUILD_SHARED_LIBS:BOOL=ON"
-CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_CXX_FLAGS=-fPIC"
-CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_C_FLAGS=-fPIC"
-
-echo
-echo "*** cmake ${CMAKE_OPTIONS}"
-cmake ${CMAKE_OPTIONS}
-if [ $? -ne 0 ]
-then
- echo "ERROR on cmake"
- exit 1
-fi
-
-echo
-echo "*** make"
-make
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-
-make install
-
-#cp lib/libblas.so $PRODUCT_INSTALL/lib/
-#cp lib/liblapack.so $PRODUCT_INSTALL/lib/
-#cp lib/libtmglib.so $PRODUCT_INSTALL/lib/
-
-#ln -s $PRODUCT_INSTALL/lib/blas_LINUX.so $PRODUCT_INSTALL/lib/libblas.so
-#ln -s $PRODUCT_INSTALL/lib/lapack_LINUX.so $PRODUCT_INSTALL/lib/liblapack.so
-
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-
-#echo
-#echo "*** make"
-#make blaslib
-#if [ $? -ne 0 ]
-#then
-# echo "ERROR on make"
-# exit 2
-#fi
-
-#make lapacklib
-#if [ $? -ne 0 ]
-#then
-# echo "ERROR on make"
-# exit 2
-#fi
-##ln -s blas_LINUX.a libblas.a
-##ln -s lapack_LINUX.a liblapack.a
-
-#ln -s librefblas.a libblas.a
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "libxml2" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-export LDFLAGS=-L$PYTHON_ROOT_DIR/lib
-
-echo
-echo "*** autogen"
-$SOURCE_DIR/autogen.sh
-
-echo
-echo "*** configure"
-$SOURCE_DIR/configure --with-python=${PYTHON_ROOT_DIR} --prefix=$PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-if [[ $DIST_NAME == "MG" ]]
-then
- export PYTHON_LIBS="-L${PYTHON_ROOT_DIR}/lib"
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make -d $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "*** install python"
-PWD = `pwd`
-cd python
-CFLAGS=-I${PWD}/include ${PYTHON_ROOT_DIR}/bin/python setup.py build
-CFLAGS=-I${PWD}/include ${PYTHON_ROOT_DIR}/bin/python setup.py install
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "markupsafe" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** setup.py BUILD"
-python setup.py build
-if [ $? -ne 0 ]
-then
- echo "ERROR on build"
- exit 2
-fi
-
-dir_lib=$PRODUCT_INSTALL'/lib/python'$PYTHON_VERSION'/site-packages'
-
-# HACK
-PYTHONPATH=$PYTHONPATH:$dir_lib
-
-mkdir -p $PRODUCT_INSTALL
-mkdir -p $dir_lib
-
-echo
-echo "*** install"
-python setup.py install --prefix=$PRODUCT_INSTALL
-if [ $? -ne 0 ]
-then
- echo "ERROR on install"
- exit 3
-fi
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "matplotlib" $VERSION
-echo "##########################################################################"
-
-rm -rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-echo
-echo "*** setup.py"
-
-cp -r $SOURCE_DIR/* .
-
-# Making a directory that will be used in install
-BUILD_DIR=`pwd`
-cd $PRODUCT_INSTALL
-mkdir -p lib/python2.7/site-packages
-cd $BUILD_DIR
-# Hack PYTHONPATH in order to make 'setup.py install' believe that PRODUCT_INSTALL is in PYTHONPATH
-PYTHONPATH_SAVE=$PYTHONPATH
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python2.7/site-packages:$PYTHONPATH
-
-
-echo "*** setup.py BUILD"
-
-python setup.py build
-
-echo "*** setup.py INSTALL"
-
-python setup.py install --prefix=${PRODUCT_INSTALL}
-
-if [ $? -ne 0 ]
-then
- export PYTHONPATH=$PYTHONPATH_SAVE
- echo "ERROR on setup"
- exit 3
-fi
-export PYTHONPATH=$PYTHONPATH_SAVE
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "med" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-CMAKE_OPTIONS=""
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_INSTALL}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DMEDFILE_BUILD_STATIC_LIBS:BOOL=OFF"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DMEDFILE_BUILD_SHARED_LIBS:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_ROOT_DIR:STRING=${HDF5_ROOT_DIR}"
-
-if [ -n "$MPI_ROOT" ]
-then
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DMEDFILE_USE_MPI:BOOL=ON"
-else
- CMAKE_OPTIONS=$CMAKE_OPTIONS" -DMEDFILE_USE_MPI:BOOL=OFF"
-fi
-
-mkdir BUILD
-cd BUILD
-
-cmake $CMAKE_OPTIONS $SOURCE_DIR
-
-if [ $? -ne 0 ]
-then
- echo "ERROR on CMake"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Metis" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** apply sed for 64bits platforms"
-sed -e 's|COPTIONS =|& -fPIC|g' Makefile.in > Makefile.in_new
-cp Makefile.in_new Makefile.in
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** copy build to install"
-cp -ar * ${PRODUCT_INSTALL}
-if [ $? -ne 0 ]
-then
- echo "ERROR on install"
- exit 3
-fi
-
-echo
-echo "*** Modification of access rights"
-chmod -R g+rwX,o+rX ${PRODUCT_INSTALL}
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "netgen" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** configure"
-BFLAG="-m64"
-OLEVEL="-O2"
-echo ./configure --prefix=${PRODUCT_INSTALL} \
- --with-occ=${CASROOT} \
- --with-tcl=${TCLHOME}/lib \
- --with-tk=${TCLHOME}/lib \
- --with-togl=${TCLHOME}/lib \
- LDFLAGS="-L${TCLHOME}/lib" \
- CPPFLAGS="-I${TCLHOME}/include" \
- CXXFLAGS="${OLEVEL} ${BFLAG}"
-./configure --prefix=${PRODUCT_INSTALL} \
- --with-occ=${CASROOT} \
- --with-tcl=${TCLHOME}/lib \
- --with-tk=${TCLHOME}/lib \
- --with-togl=${TCLHOME} \
- LDFLAGS="-L${TCLHOME}/lib" \
- CPPFLAGS="-I${TCLHOME}/include" \
- CXXFLAGS="${OLEVEL} ${BFLAG}"
-if [ $? -ne 0 ]
-then
- echo "error on configure"
- exit 1
-fi
-
-echo
-echo "*** compile"
-make
-if [ $? -ne 0 ]
-then
- echo "error on make"
- exit 2
-fi
-
-echo
-echo "*** install"
-make install
-if [ $? -ne 0 ]
-then
- echo "error on make install"
- exit 3
-fi
-
-echo
-echo "*** copy headers"
-for directory in general gprim linalg meshing ; do
- cp -vf ${PRODUCT_BUILD}/libsrc/${directory}/*.hpp ${PRODUCT_INSTALL}/include
-done
-cp -vf ${PRODUCT_BUILD}/libsrc/include/mystdlib.h ${PRODUCT_BUILD}/libsrc/include/mydefs.hpp ${PRODUCT_INSTALL}/include
-cp -vf ${PRODUCT_BUILD}/libsrc/occ/occ*.hpp ${PRODUCT_INSTALL}/include
-
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "numpy" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-
-echo
-echo "*** setup.py"
-## editer customize.py Pour LApack : using Atlas, Pour Blas : Using gsl
-python $SOURCE_DIR/setup.py build
-python $SOURCE_DIR/setup.py install --prefix=${PRODUCT_INSTALL}
-if [ $? -ne 0 ]
-then
- echo "ERROR on setup"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "omniORB" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-PYTHON_HOME=$PYTHONHOME
-
-echo
-echo "*** configure"
-$SOURCE_DIR/configure --prefix=$PRODUCT_INSTALL --disable-ipv6
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-
-# fix headers
-echo
-echo "*** fix headers"
-cd $PRODUCT_INSTALL/bin
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidl > _omniidl
-mv -f _omniidl omniidl
-chmod a+x omniidl
-sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidlrun.py > _omniidlrun.py
-mv -f _omniidlrun.py omniidlrun.py
-chmod a+x omniidlrun.py
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "omniORBpy" $VERSION
-echo "##########################################################################"
-
-echo
-echo "*** configure"
-$SOURCE_DIR/configure --prefix=${OMNIORB_ROOT_DIR}
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-mkdir -p $PRODUCT_INSTALL
-echo "omniORBpy is installed into omni dir ${OMNIORB_ROOT_DIR}" > $PRODUCT_INSTALL/README
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "opencv" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-CMAKE_OPTIONS=""
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_INSTALL}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DWITH_CUDA:BOOL=OFF"
-
-mkdir BUILD
-cd BUILD
-
-# hack pour CO5.5
-if [[ $DIST_NAME == "CO" && $DIST_VERSION == "5.5" ]]
-then
- env CC=/usr/bin/gcc44 CXX=/usr/bin/g++44 cmake $CMAKE_OPTIONS $SOURCE_DIR
-else
- cmake $CMAKE_OPTIONS $SOURCE_DIR
-fi
-
-if [ $? -ne 0 ]
-then
- echo "ERROR on CMake"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "pyparsing" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-echo
-
-cp -r $SOURCE_DIR/* .
-
-# Making a directory that will be used in install
-BUILD_DIR=`pwd`
-cd $PRODUCT_INSTALL
-mkdir -p lib/python2.7/site-packages
-cd $BUILD_DIR
-# Hack PYTHONPATH in order to make 'setup.py install' believe that PRODUCT_INSTALL is in PYTHONPATH
-PYTHONPATH_SAVE=$PYTHONPATH
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python2.7/site-packages:$PYTHONPATH
-
-echo "*** setup.py BUILD"
-python setup.py build
-
-
-echo "*** setup.py INSATALL"
-python setup.py install --prefix=${PRODUCT_INSTALL}
-
-if [ $? -ne 0 ]
-then
- export PYTHONPATH=$PYTHONPATH_SAVE
- echo "ERROR on setup"
- exit 3
-fi
-
-export PYTHONPATH=$PYTHONPATH_SAVE
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "pyreadline" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-echo "pyreadline is a Windows porting of readline, a native module of Unix python" > $PRODUCT_INSTALL/README
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Pytz" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-echo
-
-cp -r $SOURCE_DIR/* .
-
-# Making a directory that will be used in install
-BUILD_DIR=`pwd`
-cd $PRODUCT_INSTALL
-mkdir -p lib/python2.7/site-packages
-cd $BUILD_DIR
-# Hack PYTHONPATH in order to make 'setup.py install' believe that PRODUCT_INSTALL is in PYTHONPATH
-PYTHONPATH_SAVE=$PYTHONPATH
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python2.7/site-packages:$PYTHONPATH
-
-echo "*** setup.py BUILD"
-python setup.py build
-
-
-echo "*** setup.py INSATALL"
-python setup.py install --prefix=${PRODUCT_INSTALL}
-
-if [ $? -ne 0 ]
-then
- export PYTHONPATH=$PYTHONPATH_SAVE
- echo "ERROR on setup"
- exit 3
-fi
-
-export PYTHONPATH=$PYTHONPATH_SAVE
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Qt" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** configure"
-CXXFLAGS="-fpermissive" ./configure -prefix $PRODUCT_INSTALL -release -opensource -no-rpath \
- -verbose -no-separate-debug-info -confirm-license -qt-libpng -no-sql-cli
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo "*** create link for lib64"
-cd $PRODUCT_INSTALL
-ln -s lib lib64
-
-
-echo "*** correction of a problem with webcore and jscore libraries"
-cd ${PRODUCT_INSTALL}/lib && sed -i "s% -L../../WebCore/release%%g;s% -L../../JavaScriptCore/release%%g;s% -lwebcore%%g;s% -ljscore%%g" libQtWebKit.la
-
-echo "*** Adding qt.conf file in order to be able to compile using the moved Qt installation"
-cd ${PRODUCT_INSTALL}/bin && echo -e "[Paths]\nPrefix=..\nBinaries=bin" > qt.conf
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "qwt" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-export TMAKEPATH=${QTDIR}/bin
-export PATH=${TMAKEPATH}:${PATH}
-
-echo
-echo "*** copy source"
-mkdir -p ${PRODUCT_INSTALL}
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** prepare qmake"
-sed -i "s|\(QWT_INSTALL_PREFIX[[:space:]]*\)=\([[:space:]]*\)\(.*\)|\1=\2${PRODUCT_INSTALL}|g" qwtconfig.pri
-sed -i "s|#\(CONFIG[[:space:]]*+=[[:space:]]*QwtSVGItem\)|\1|g" qwtconfig.pri
-
-sed -i "s|\(target\.path[[:space:]]*\)=\([[:space:]]*\).*|\1=\2\$\$QWT_INSTALL_PREFIX/plugins/designer|g" designer/designer.pro
-
-echo
-echo "** qmake"
-qmake
-if [ $? -ne 0 ]
-then
- echo "ERROR on qmake"
- exit 1
-fi
-
-echo
-echo "*** make"
-make
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "scipy" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** build"
-python setup.py build
-if [ $? -ne 0 ]
-then
- echo "ERROR on build"
- exit 2
-fi
-
-mkdir -p $PRODUCT_INSTALL
-echo
-echo "*** install"
-python setup.py install --prefix=${PRODUCT_INSTALL}
-if [ $? -ne 0 ]
-then
- echo "ERROR on install"
- exit 3
-fi
-
-#mkdir -p $PRODUCT_INSTALL
-#echo "scipy is installed into python dir $PYTHON_ROOT_DIR" > $PRODUCT_INSTALL/README
-
-echo
-echo "########## END"
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "Scotch" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-mkdir -p $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-echo
-echo "*** copy BUILD to INSTALL : cp -ar ${PRODUCT_BUILD} ${PRODUCT_INSTALL}"
-cp -ar * ${PRODUCT_INSTALL}
-if [ $? -ne 0 ]
-then
- echo "ERROR on cp -ar ${SOURCE_DIR} ${PRODUCT_INSTALL}"
- exit 1
-fi
-echo "INSTALL :: ${PRODUCT_INSTALL}"
-
-cd ${PRODUCT_INSTALL}/src
-
-cp Make.inc/Makefile.inc.x86-64_pc_linux2 ./Makefile.inc.ori
-
-# add pthread for gcc > 4.4
-sed -e "s%LDFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%LDFLAGS\1=\2 \3 -lpthread%g" Makefile.inc.ori > Makefile.inc
-
-# add -fPIC
-sed -e 's|CFLAGS[\t ]*=|& -fPIC|g' Makefile.inc > Makefile.in_new
-cp Makefile.in_new Makefile.inc
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "setuptools" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-mkdir -p ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-
-cp -r $SOURCE_DIR/* .
-
-# unset PYTHONDONTWRITEBYTECODE set by default on MD10
-PYTHONDONTWRITEBYTECODE=
-
-echo
-echo "*** setup.py"
-python setup.py install --prefix=${PRODUCT_INSTALL} --install-lib ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
-if [ $? -ne 0 ]
-then
- echo "ERROR on setup"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "sip" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp -r $SOURCE_DIR/* .
-
-python_name=python$PYTHON_VERSION
-
-echo
-echo "*** configure"
-if [[ $BITS == "64" ]]
-then
- python ./configure.py -b ${PRODUCT_INSTALL}/bin \
- -d ${PRODUCT_INSTALL}/lib/${python_name}/site-packages \
- -e ${PRODUCT_INSTALL}/include/${python_name} \
- -v ${PRODUCT_INSTALL}/sip -p linux-g++-64
-else
- python ./configure.py -b ${PRODUCT_INSTALL}/bin \
- -d ${PRODUCT_INSTALL}/lib/${python_name}/site-packages \
- -e ${PRODUCT_INSTALL}/include/${python_name} \
- -v ${PRODUCT_INSTALL}/sip
-fi
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "six" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-mkdir -p $PRODUCT_INSTALL
-echo
-
-cp -r $SOURCE_DIR/* .
-
-# Making a directory that will be used in install
-BUILD_DIR=`pwd`
-cd $PRODUCT_INSTALL
-mkdir -p lib/python2.7/site-packages
-cd $BUILD_DIR
-# Hack PYTHONPATH in order to make 'setup.py install' believe that PRODUCT_INSTALL is in PYTHONPATH
-PYTHONPATH_SAVE=$PYTHONPATH
-export PYTHONPATH=${PRODUCT_INSTALL}/lib/python2.7/site-packages:$PYTHONPATH
-
-echo "*** setup.py BUILD"
-python setup.py build
-
-
-echo "*** setup.py INSTALL"
-python setup.py install --prefix=${PRODUCT_INSTALL}
-
-if [ $? -ne 0 ]
-then
- export PYTHONPATH=$PYTHONPATH_SAVE
- echo "ERROR on setup"
- exit 3
-fi
-
-export PYTHONPATH=$PYTHONPATH_SAVE
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "swig" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-#echo
-#echo "*** autogen"
-#./autogen.sh
-#if [ $? -ne 0 ]
-#then
-# echo "ERROR on autogen"
-# exit 1
-#fi
-
-echo
-echo "*** configure"
-$SOURCE_DIR/configure --prefix=${PRODUCT_INSTALL} --without-pcre --without-octave
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "*** link swig2.0 -> swig"
-cd $PRODUCT_INSTALL/bin
-ln -s swig swig2.0
-if [ $? -ne 0 ]
-then
- echo "ERROR on link swig2.0 -> swig"
- exit 4
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "tcl" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-echo
-echo "*** configure"
-$SOURCE_DIR/unix/configure --prefix=$PRODUCT_INSTALL --enable-shared --enable-threads
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 1
-fi
-
-echo
-echo "*** make" $MAKE_OPTIONS
-make $MAKE_OPTIONS
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/bin/bash
-
-echo "##########################################################################"
-echo "tk" $VERSION
-echo "##########################################################################"
-
-rm -Rf $PRODUCT_INSTALL
-
-cp $TCLHOME/include/*.h generic/
-
-echo
-echo "*** configure"
-$SOURCE_DIR/unix/configure --prefix=$TCLHOME --enable-shared --enable-threads \
- --with-tcl=$TCLHOME/lib --with-tclinclude=$TCLHOME/include
-if [ $? -ne 0 ]
-then
- echo "ERROR on configure"
- exit 2
-fi
-
-echo
-echo "*** make"
-make
-if [ $? -ne 0 ]
-then
- echo "ERROR on make"
- exit 2
-fi
-
-echo
-echo "*** make install"
-make install
-if [ $? -ne 0 ]
-then
- echo "ERROR on make install"
- exit 3
-fi
-
-mkdir -p $PRODUCT_INSTALL
-echo "Tk is installed into tcl dir $TCLHOME" > $PRODUCT_INSTALL/README
-cp tkConfig.sh $TCLHOME/lib #Needed fot netgen
-
-echo
-echo "########## END"
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('CASROOT', prereq_dir)
- root = env.get('CASROOT')
-
- # [CMake GUI] Nouveau nom pour CASROOT = CAS_ROOT_DIR 22/03/2013
- env.set('CAS_ROOT_DIR', prereq_dir)
-
- env.prepend('PATH', os.path.join(root, 'bin'))
-
- l = []
- l.append(os.path.join(root, 'lib'))
- l.append(os.path.join(root, 'lin', 'lib'))
- if platform.system()=="Windows" :
- l.append(os.path.join(root, 'win64', 'vc10' ,'lib'))
- l.append(os.path.join(root, 'win64', 'vc10' ,'bin'))
- l.append(os.path.join(root, 'inc'))
- env.prepend('PATH', l)
- else :
- env.prepend('LD_LIBRARY_PATH', l)
-
- env.set('CSF_UnitsLexicon', os.path.join(root, 'src', 'UnitsAPI', 'Lexi_Expr.dat'))
- env.set('CSF_UnitsDefinition', os.path.join(root, 'src', 'UnitsAPI', 'Units.dat'))
- env.set('CSF_SHMessage', os.path.join(root, 'src', 'SHMessage'))
- env.set('CSF_XSMessage', os.path.join(root, 'src', 'XSMessage'))
- env.set('CSF_MDTVFontDirectory', os.path.join(root, 'src', 'FontMFT'))
- env.set('CSF_MDTVTexturesDirectory', os.path.join(root, 'src', 'Textures'))
- env.set('MMGT_REENTRANT', "1")
- env.set('CSF_StandardDefaults', os.path.join(root, 'src', 'StdResource'))
- env.set('CSF_PluginDefaults', os.path.join(root, 'src', 'StdResource'))
- env.prepend('PATH', root)
-
- env.set('LIB', '$LD_LIBRARY_PATH')
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os
-
-def set_env(env, prereq_dir, version):
- env.set("CYTHON_ROOT_DIR",prereq_dir)
- env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
-
- versionPython = env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
- pass
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-def set_env(env, prereq_dir, version):
- env.set('HOMARD_REP_EXE', prereq_dir)
- root = env.get('HOMARD_REP_EXE')
- env.set('HOMARD_EXE', 'homard')
-
- env.prepend('PATH', root)
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('JINJADIR', prereq_dir)
- env.set('JINJA_ROOT_DIR', prereq_dir) # update for cmake
- root = env.get('JINJADIR')
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib', pyver, 'site-packages'))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', pyver, 'site-packages'))
-
-def set_nativ_env(env):
- env.set('JINJA_ROOT_DIR', '/usr') # update for cmake
- env.set('JINJADIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.add_comment("Here you can define your license parameters for MeshGems")
- env.add_comment("DISTENE license")
-
- if not env.is_defined("LICENSE_FILE"):
- script = os.path.join(os.path.dirname(os.path.realpath(__file__)), "distene_license.py")
- assert os.path.exists(script), "distene_license.py not found!"
- env.run_simple_env_script(script)
-
- env.set('MESHGEMSHOME', prereq_dir)
- env.set('MESHGEMS_ROOT_DIR', prereq_dir) # update for cmake
- root = env.get('MESHGEMSHOME')
-
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
- else :
-
- libdir = "Linux_64"
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('PATH', os.path.join(root, 'bin', libdir))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib', libdir))
-
-
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('PARMETISDIR', prereq_dir)
- env.set('PARMETIS_ROOT_DIR', prereq_dir) # update for cmake
- root = env.get('PARMETISDIR')
-
- env.prepend('LD_LIBRARY_PATH', root)
- env.prepend('PATH', root)
-# env.prepend('PATH', os.path.join(root, "Graphs"))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- # keep only the first two version numbers
- ver = '.'.join(version.replace('-', '.').split('.')[:2])
-
- # BUG WITH 5.0_beta
- if ver == '5.0_beta':
- ver = '5.0'
-
- env.set('PVHOME', prereq_dir)
- env.set('VTKHOME', prereq_dir)
-
- env.set('PVVERSION', ver)
- # [CMake GUI] Nouveau nom pour PVHOME = PARAVIEW_ROOT_DIR 22/03/2013
- # [CMake GUI] Nouveau nom pour PVVERSION = PARAVIEW_VERSION 22/03/2013
- env.set('PARAVIEW_ROOT_DIR', prereq_dir)
-
- env.set('PARAVIEW_VERSION', ver)
- version = env.get('PVVERSION') # = ${PVVERSION}
-
- set_paraview_env(env, version)
- set_vtk_env(env, version)
-
-def set_nativ_env(env):
- if os.getenv("PVHOME") is None:
- raise Exception("PVHOME is not set")
-
- if os.getenv("PVVERSION") is None:
- raise Exception("PVVERSION is not set")
-
- version = env.get("PVVERSION")
- set_paraview_env(env, version)
-
-def set_paraview_env(env, version):
- root = env.get('PVHOME')
-
- env.set('ParaView_DIR', os.path.join(root, 'lib', 'paraview-%s' % version))
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('PATH', os.path.join(root, 'include', 'paraview-' + version))
-
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib', 'paraview-' + version))
-
- paralib = os.path.join(root, 'lib', 'paraview-' + version)
- env.prepend('PYTHONPATH', paralib)
- env.set('PV_PLUGIN_PATH', paralib)
- env.prepend('PYTHONPATH', os.path.join(paralib, 'site-packages'))
- env.prepend('PYTHONPATH', os.path.join(paralib, 'site-packages', 'vtk'))
-
-
-def set_vtk_env(env, version):
- root = env.get('VTKHOME')
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', pyver, 'site-packages'))
- #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm
- #Tcl treats the contents of that variable as a list. Be happy, for you can now use drive letters on windows.
- env.prepend('TCLLIBPATH', os.path.join(root, 'lib', 'vtk-5.0', 'tcl'), sep=" ")
-
- env.set('VTK_ROOT_DIR', root)
- if platform.system() == "Windows" :
- env.set('VTK_DIR', os.path.join(root, 'lib', 'cmake', 'paraview-' + version))
- env.prepend('VTK_ROOT_DIR', os.path.join(root, 'lib', 'cmake', 'paraview-' + version))
- else :
- env.set('VTK_DIR', os.path.join(root, 'lib', 'paraview-' + version))
- env.prepend('VTK_ROOT_DIR', os.path.join(root, 'lib', 'paraview-' + version))
-
- # 20 03 2013 compilation de PARAVIS basé sur paraview 3.98.1 et VTK 6
- if version == '3.98':
- cmake_dir = os.path.join(root, 'lib', 'cmake', 'paraview-' + version)
- env.set('VTK_DIR', cmake_dir)
- # fin
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('PYQTDIR', prereq_dir)
- version_table = version.split('.')
- if version_table[0] == '5':
- env.set('PYQT5_ROOT_DIR', prereq_dir)
- else:
- env.set('PYQT4_ROOT_DIR', prereq_dir)
- root = env.get('PYQTDIR')
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.set('PYQT_SIPS', os.path.join(root, 'sip'))
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', root)
-
- l = []
- l.append(root) # for old version of pyqt
- l.append(os.path.join(root, 'lib', pyver, 'site-packages'))
- env.prepend('PYTHONPATH', l)
-
-def set_nativ_env(env):
- env.set('PYQTDIR', '/usr')
- env.set('PYQT4_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('PYGMENTS_ROOT_DIR', prereq_dir) # update for cmake
- env.set('PYGMENTSDIR', prereq_dir)
- root = env.get('PYGMENTSDIR')
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', pyver, 'site-packages'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path, platform
-
-def set_env(env,prereq_dir,version,forBuild=None):
- # keep only the first two version numbers
- version = '.'.join(version.replace('-', '.').split('.')[:2])
-
- env.set('PYTHONHOME', prereq_dir)
-
- # [CMake KERNEL] Nouveau nom pour PYTHONHOME = PYTHON_ROOT_DIR 22/03/2013
- env.set('PYTHON_ROOT_DIR', prereq_dir)
- root = env.get('PYTHON_ROOT_DIR')
-
- env.prepend('PATH', root)
- env.prepend('PATH', os.path.join(root, 'bin'))
-
- l = []
- l.append(os.path.join(root, 'lib'))
- #l.append(os.path.join(root, 'lib', 'python' + version))
-
- if platform.system() == "Windows" :
- env.prepend('PATH', l)
- env.set('PYTHON_INCLUDE', os.path.join(root, 'include'))
- env.prepend('PYTHONPATH', os.path.join(root, 'Lib'))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib','site-packages'))
-
- env.set('PYTHONBIN', os.path.join(root, 'python.exe')) # needed for runSalome.py
- else :
- env.prepend('LD_LIBRARY_PATH', l)
- env.set('PYTHON_INCLUDE', os.path.join(root, 'include', 'python' + version))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', 'python' + version))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', 'python' + version, 'site-packages'))
-
- env.set('PYTHONBIN', os.path.join(root, 'bin','python')) # needed for runSalome.py
-
- env.set('PYTHON_VERSION', version)
-
-
-def set_nativ_env(env):
- import sys
- #env.set('PYTHONHOME',"%s.%s" % sys.version_info[0:2])
- env.set('PYTHON_ROOT_DIR', '/usr')
- env.set('PYTHON_VERSION', "%s.%s" % sys.version_info[0:2])
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('SPHINXDIR', prereq_dir)
- env.set('SPHINX_ROOT_DIR', prereq_dir)
- root = env.get('SPHINXDIR')
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', pyver, 'site-packages'))
-
-def set_nativ_env(env):
- env.set('SPHINXDIR', '/usr')
- env.set('SPHINX_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('BOOSTDIR', prereq_dir)
- env.set('BOOST_ROOT_DIR', prereq_dir)
- root = env.get('BOOSTDIR')
-
- env.prepend('PATH', os.path.join(root, 'include'))
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'lib'))
- else :
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('BOOSTDIR', '/usr')
- env.set('BOOST_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path, platform
-
-def set_env(env, prereq_dir, version):
- env.set('CGNS_ROOT_DIR', prereq_dir)
- root = env.get('CGNS_ROOT_DIR')
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('CMAKE_ROOT', prereq_dir)
- root = env.get('CMAKE_ROOT')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
-
-def set_nativ_env(env):
- env.set('CMAKE_ROOT', '/usr')
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('CPPUNITHOME', prereq_dir)
- env.set('CPPUNIT_ROOT', prereq_dir)
- env.set('CPPUNIT_ROOT_DIR', prereq_dir) # update for cmake
- root = env.get('CPPUNITHOME')
-
- env.set('CPPUNITINSTDIR', root)
- env.prepend('PATH', os.path.join(root, 'bin'))
- import platform
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'lib'))
- else :
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('CPPUNIT_ROOT_DIR', '/usr') # update for cmake
- env.set('CPPUNITHOME','/usr')
- env.set('CPPUNIT_ROOT','/usr')
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('DATEUTIL_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
-
- if platform.system() == "Windows" :
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'site-packages'))
- else:
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def load_env(env):
- license_file = '/data/tmpsalome/salome/prerequis/install/LICENSE/dlim8.var.sh'
- if os.path.exists(license_file):
- env.add_line(1)
- env.add_comment("Set DISTENE License")
- env.set('DISTENE_LICENSE_FILE', 'Use global envvar: DLIM8VAR')
- env.set('DISTENE_LICENCE_FILE_FOR_MGCLEANER', license_file)
- env.set('DISTENE_LICENCE_FILE_FOR_YAMS', license_file)
-
- if os.access(license_file, os.R_OK):
- lines = open(license_file, "r").readlines()
- for line in lines:
- if line[:8] == "DLIM8VAR":
- # line is: DLIM8VAR="<key>"\n
- key = line.strip().split('=')[1]
- key = key.strip().strip('"')
- env.set("DLIM8VAR", key)
- break
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('DISTRIBUTE_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
-
- if platform.system() == "Windows" :
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'site-packages'))
- else:
- env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'bin'))
- pass
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('DOCUTILSDIR', prereq_dir)
- env.set('DOCUTILS_ROOT_DIR', prereq_dir) # update for cmake
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PATH', os.path.join(env.get('DOCUTILSDIR'), 'bin'))
- env.prepend('PYTHONPATH', os.path.join(env.get('DOCUTILSDIR'), 'lib', pyver, 'site-packages'))
-
-def set_nativ_env(env):
- env.set('DOCUTILS_ROOT_DIR', '/usr') # update for cmake
- env.set('DOCUTILSDIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('DOXYGENDIR', prereq_dir)
- env.set('DOXYGEN_ROOT_DIR', prereq_dir)
- env.prepend('PATH', os.path.join(env.get('DOXYGENDIR'), 'bin'))
-
-def set_nativ_env(env):
- env.set('DOXYGENDIR', '/usr')
- env.set('DOXYGEN_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path, platform
-
-def set_env(env,prereq_dir,version,forBuild=None):
- version = '.'.join(version.replace('-', '.').split('.')[:2])
- env.set('FFTW_VERSION', version)
-
- env.set('FFTWHOME', prereq_dir)
-
- env.set('FFTW_ROOT_DIR', prereq_dir)
- root = env.get('FFTW_ROOT_DIR')
-
- env.prepend('PATH', root)
- env.prepend('PATH', os.path.join(root, 'bin'))
-
- l = []
- l.append(os.path.join(root, 'lib'))
-
- if platform.system() == "Windows" :
- env.prepend('PATH', l)
- else:
- env.prepend('LD_LIBRARY_PATH', l)
-
- env.set('FFTW_INCLUDE', os.path.join(root, 'include'))
- env.prepend('FFTWPATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- import sys
- pass
-
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('FREEIMAGEDIR', prereq_dir)
- env.set('FREEIMAGE_ROOT_DIR', prereq_dir) # update for cmake
- root = env.get('FREEIMAGEDIR')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'lib'))
- else:
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('FREEIMAGE_ROOT_DIR', '/usr') # update for cmake
- env.set('FREEIMAGEDIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-import os
-
-def set_env(env, prereq_dir, version):
- env.set('FREETYPEDIR', prereq_dir)
- env.set('FREETYPE_ROOT_DIR', prereq_dir) # update for cmake
- env.prepend('PATH', os.path.join(env.get('FREETYPE_ROOT_DIR'), 'bin'))
- env.prepend('INCLUDE', os.path.join(env.get('FREETYPE_ROOT_DIR'), 'include'))
- env.prepend('CPLUS_INCLUDE_PATH', os.path.join(prereq_dir, 'include', 'freetype2'))
-
-def set_nativ_env(env):
- env.set('FREETYPE_ROOT_DIR', '/usr') # update for cmake
- env.set('FREETYPEDIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('GL2PSDIR', prereq_dir)
- env.set('GL2PS_ROOT_DIR', prereq_dir)
-
- root = env.get('GL2PSDIR')
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('GL2PSDIR', '/usr')
- env.set('GL2PS_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('GRAPHVIZROOT', prereq_dir)
- env.set('GRAPHVIZ_ROOT_DIR', prereq_dir)
- root = env.get('GRAPHVIZROOT')
-
- l = []
- l.append(os.path.join(root, 'bin'))
- l.append(os.path.join(root, 'include', 'graphviz'))
- env.prepend('PATH', l)
-
- l = []
- l.append(os.path.join(root, 'lib'))
- l.append(os.path.join(root, 'lib', 'graphviz'))
-
- if platform.system() == "Windows" :
- env.prepend('LIB', l)
- env.prepend('INCLUDE', os.path.join(root, 'include'))
- else :
- env.prepend('LD_LIBRARY_PATH', l)
-
-def set_nativ_env(env):
- env.set('GRAPHVIZROOT', '/usr')
- env.set('GRAPHVIZ_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path, platform
-
-def set_env(env, prereq_dir, version):
- env.set('HDF5HOME', prereq_dir)
- env.set('HDF5_DIR', prereq_dir)
- env.set('HDF5_ROOT', prereq_dir)
- env.set('HDF5_ROOT_DIR', prereq_dir)
- root = env.get('HDF5HOME')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
-
- env.set('HDF5_LIBRARIES', os.path.join(root, 'lib'))
- env.set('HDF5_INCLUDE_DIRS', os.path.join(root, 'include'))
- env.set('HDF5_VERSION', version)
-
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'lib'))
- else :
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('HDF5HOME', '/usr')
- env.set('HDF5_ROOT', '/usr')
- env.set('HDF5_ROOT_DIR', '/usr') # update for cmake
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('LAPACKHOME', prereq_dir)
- env.set('LAPACK_ROOT_DIR', prereq_dir)
- env.set('LAPACK_SRC', os.path.join(prereq_dir,'SRC'))
- #env.set('LAPACK', os.path.join(prereq_dir))
- env.set('BLAS_SRC', os.path.join(prereq_dir,'BLAS','SRC'))
- root = env.get('LAPACKHOME')
-
- env.prepend('PATH', os.path.join(root, 'lapacke','include'))
- env.prepend('PATH', os.path.join(root, 'lib'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
- env.prepend('PYTHONPATH', os.path.join(root, 'Lib'))
-
- # FOR NUMPY AND SCIPY
- env.set('BLAS', os.path.join(root, 'lib'))
- env.set('LAPACK', os.path.join(root, 'lib'))
- env.set('ATLAS', os.path.join(root, 'lib'))
-
-
-def set_nativ_env(env):
- env.set('LAPACKHOME', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('LIBXML_DIR', prereq_dir)
- env.set('LIBXML2_ROOT_DIR', prereq_dir)
- root = env.get('LIBXML_DIR')
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.prepend('INCLUDE', os.path.join(root, 'include'))
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('PATH', os.path.join(root, 'lib'))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', pyver, 'site-packages'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('LIBXML_DIR', '/usr')
- env.set('LIBXML2_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set("MARKUPSAFE_ROOT_DIR",prereq_dir)
- env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
-
- if platform.system() == "Windows" :
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'site-packages'))
- else:
- versionPython = env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
- pass
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('MATPLOTLIB_ROOT_DIR', prereq_dir)
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
- # FOR THE FILE CONFIG MATPLOTLIBRC
- env.set('MPLCONFIGDIR', env.get('MATPLOTLIB_ROOT_DIR'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path, platform
-
-def set_env(env, prereq_dir, version):
- env.set('MED3HOME', prereq_dir)
- env.set('MED2HOME', prereq_dir)
- env.set('MEDFILE_ROOT_DIR', prereq_dir) # update for cmake
- root = env.get('MED3HOME')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
-
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'lib'))
- else :
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-
-def set_nativ_env(env):
- env.set('MEDFILE_ROOT_DIR', '/usr') # update for cmake
- env.set('MED3HOME', '/usr')
- env.set('MED2HOME', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-def set_env(env, prereq_dir, version):
- env.set('METISDIR', prereq_dir)
- env.set('METIS_ROOT_DIR', prereq_dir) # update for cmake
-
-def set_nativ_env(env):
- env.set('METISDIR', '/usr')
- env.set('METIS_ROOT_DIR', '/usr') # update for cmake
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('NETGENHOME', prereq_dir)
-
- env.set('NETGEN_ROOT_DIR', prereq_dir)
- root = env.get('NETGENHOME')
-
- env.set('NETGEN_INCLUDE_DIRS', os.path.join(root, 'include'))
- env.set('NETGEN_LIBRARIES', os.path.join(root, 'lib'))
- env.prepend('PATH', os.path.join(root, 'bin'))
-
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'lib'))
- else :
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('NETGEN_ROOT_DIR', '/usr') # update for cmake
- env.set('NETGENHOME', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'bin'))
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
- #l0=os.path.join(prereq_dir, 'lib', pyver, 'site-packages','numpy')
- #l=[os.path.join(l0,'core'),os.path.join(l0,'fft'),os.path.join(l0,'lib'),os.path.join(l0,'linalg'),os.path.join(l0,'numarray'),os.path.join(l0,'random')]
- #env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages','numpy','linalg'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('OMNIORB_ROOT_DIR', prereq_dir) # update for cmake
- root = env.get('OMNIORB_ROOT_DIR')
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH',os.path.join(root, 'lib'))
-
- env.prepend( 'PYTHONPATH', os.path.join(root, 'lib') )
- env.prepend( 'PYTHONPATH', os.path.join(root, 'lib', 'python') )
- env.prepend( 'PYTHONPATH', os.path.join(root, 'lib', pyver, 'site-packages') )
- env.prepend( 'PYTHONPATH', os.path.join(root, 'lib64', pyver, 'site-packages') )
-
- if platform.system() == "Windows" :
- env.prepend('PATH', os.path.join(root, 'bin', 'x86_win32'))
- env.prepend('LD_LIBRARY_PATH',os.path.join(root, 'lib', 'x86_win32'))
- env.prepend( 'PYTHONPATH', os.path.join(root, 'lib', 'x86_win32') )
-
-def set_nativ_env(env):
- env.set('OMNIORB_ROOT_DIR', "/usr") # update for cmake
- env.set('OMNIORBDIR', "/usr")
- env.set('OMNIORB_DIR', "/usr")
- env.set('OMNIORBDIR_INC', "/usr/include/omniORB4")
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-def set_env(env, prereq_dir, version):
- omniorb_root_dir = env.get('OMNIORB_ROOT_DIR')
- env.set('OMNIORBPY_ROOT_DIR', omniorb_root_dir)
-
-def set_nativ_env(env):
- env.set('OMNIORBPY_ROOT_DIR',"/usr")
- pass
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('OPENCV_ROOT_DIR', prereq_dir)
- env.set('OPENCV_HOME', prereq_dir)
- root = env.get('OPENCV_ROOT_DIR')
-
- env.prepend('PATH', os.path.join(root, 'include'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('OPENCV_ROOT_DIR', '/usr')
- env.set('OPENCV_HOME', '/usr')
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('PYPARSING_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-# pyreadline install dir is PYTHON_ROOT_DIR, environment is set in Python.py
-
-def set_env(env, prereq_dir, version):
- env.set('PYREADLINE_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
-
-def set_nativ_env(env):
- env.set('PYREADLINE_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
-
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('PYTZ_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
-
- if platform.system() == "Windows" :
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'site-packages'))
- else:
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('QTDIR', prereq_dir)
- version_table = version.split('.')
- if version_table[0] == '5':
- env.set('QT5_ROOT_DIR', prereq_dir)
- else:
- env.set('QT4_ROOT_DIR', prereq_dir)
-
- root = env.get('QTDIR')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
-
- if version_table[0] == '5':
- env.set('QT_PLUGIN_PATH', os.path.join(prereq_dir, 'plugins'))
- env.set('QT_QPA_PLATFORM_PLUGIN_PATH', os.path.join(prereq_dir, 'plugins'))
-
- if platform.system() == "Windows" :
- env.prepend('LIB', os.path.join(root, 'lib'))
- env.prepend('PATH', os.path.join(root, 'lib'))
- else :
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('QTDIR','/usr')
- env.set('QT4_ROOT_DIR','/usr')
- pass
-
-
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('QWTHOME', prereq_dir)
- env.set('QWT_ROOT_DIR', prereq_dir)
- root = env.get('QWTHOME')
-
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
-def set_nativ_env(env):
- env.set('QWTHOME', '/usr')
- env.set('QWT_ROOT_DIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os
-
-def set_env(env, prereq_dir, version):
- env.set("SCIPY_ROOT_DIR",prereq_dir)
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
- pass
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-def set_env(env, prereq_dir, version):
- env.set('SCOTCHDIR', prereq_dir)
- env.set('SCOTCH_ROOT_DIR', prereq_dir) # update for cmake
-
-def set_nativ_env(env):
- env.set('SCOTCH_ROOT_DIR', '/usr') # update for cmake
- env.set('SCOTCHDIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('SETUPTOOLDIR', prereq_dir)
- env.set('SETUPTOOLS_ROOT_DIR', prereq_dir) # update for cmake
-
- env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
-
- versionPython = env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'bin'))
-
-def set_nativ_env(env):
- env.set('SETUPTOOLS_ROOT_DIR', '/usr') # update for cmake
- env.set('SETUPTOOLDIR', '/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('SIPDIR', prereq_dir)
- root = env.get('SIPDIR')
-
- # [CMake GUI] Nouveau nom pour SIPDIR = SIP_ROOT_DIR 22/03/2013
- env.set('SIP_ROOT_DIR', prereq_dir)
-
- pyver = 'python' + env.get('PYTHON_VERSION')
-
- env.prepend('CPLUS_INCLUDE_PATH', os.path.join(root, 'include', pyver))
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('PYTHONPATH', os.path.join(root, 'lib', pyver, 'site-packages'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib', pyver, 'site-packages'))
-
- pyqt = env.get('PYQTDIR')
- env.set('PYQT_SIPS_DIR', pyqt)
-
-def set_nativ_env(env):
- env.set('SIPDIR', '/usr')
- env.set('SIP_ROOT_DIR','/usr')
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('SIX_ROOT_DIR', env.get('PYTHON_ROOT_DIR'))
-
- env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
-
- if platform.system() == "Windows" :
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', 'site-packages'))
- else :
- pyver = 'python' + env.get('PYTHON_VERSION')
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
- env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'bin'))
-
-def set_nativ_env(env):
- pass
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-import platform
-
-def set_env(env, prereq_dir, version):
- env.set('SWIG_ROOT', prereq_dir)
- env.set('SWIG_ROOT_DIR', prereq_dir)
-
- if platform.system() == "Windows" :
- env.set('SWIG_LIB', os.path.join( prereq_dir, "lib" ) )
- else :
- env.set('SWIG_LIB', os.path.join( prereq_dir, "share", "swig", version) )
-
- root = env.get('SWIG_ROOT')
- env.prepend('PATH', os.path.join(root, 'bin'))
-
-def set_nativ_env(env):
- env.set('SWIG_ROOT_DIR', '/usr')
- env.set('SWIG_ROOT', '/usr')
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('TCL_ROOT_DIR', prereq_dir) # update for cmake
- env.set('TCLHOME', prereq_dir)
-
- root = env.get('TCLHOME')
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
- env.prepend('INCLUDE', os.path.join(root, 'include'))
-
- l = []
- l.append(os.path.join(root, 'lib'))
- l.append(os.path.join(root, 'lib', 'tcl'))
- #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm
- #Tcl treats the contents of that variable as a list. Be happy, for you can now use drive letters on windows.
- env.prepend('TCLLIBPATH', l, sep=" ")
- env.set('TCL_SHORT_VERSION', version[:version.rfind('.')])
-
-def set_nativ_env(env):
- env.set('TCL_ROOT_DIR', '/usr') # update for cmake
- env.set('TCLHOME', '/usr')
+++ /dev/null
-#!/usr/bin/env python
-#-*- coding:utf-8 -*-
-
-import os.path
-
-def set_env(env, prereq_dir, version):
- env.set('TK_ROOT_DIR', prereq_dir) # update for cmake
- env.set('TKHOME', prereq_dir)
- root = env.get('TKHOME')
-
- env.prepend('PATH', os.path.join(root, 'bin'))
- env.prepend('LD_LIBRARY_PATH', os.path.join(root, 'lib'))
-
- l = []
- l.append(os.path.join(root, 'lib'))
- l.append(os.path.join(root, 'lib', 'tk'))
- #http://computer-programming-forum.com/57-tcl/1dfddc136afccb94.htm
- #Tcl treats the contents of that variable as a list. Be happy, for you can now use drive letters on windows.
- env.prepend('TKLIBPATH', l, sep=" ")
-
-def set_nativ_env(env):
- env.set('TK_ROOT_DIR', '/usr') # update for cmake
- env.set('TKHOME', '/usr')
+++ /dev/null
-CAS :
-{
- name : "CAS"
- build_source : "autotools"
- configure_options : "-without-tcl --without-tk --disable-draw --with-freetype=$FREETYPEDIR --enable-debug=no --enable-production=yes --with-gl2ps=$GL2PSDIR --with-freeimage=$FREEIMAGEDIR"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['freetype', 'freeimage', 'gl2ps', 'tcl', 'tk']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-Cython :
-{
- name : "Cython"
- build_source : "script"
- compil_script : "cython.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-GEOM :
-{
- name : "GEOM"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/geom.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- environ :
- {
- }
- depend : ["KERNEL",
- "GUI",
- "boost",
- "CAS",
- "Python",
- "swig",
- "hdf5",
- "omniORB",
- "qt",
- "ParaView",
- "doxygen",
- "graphviz",
- "docutils",
- "Sphinx",
- "Jinja2",
- "setuptools",
- "Pygments",
- "cppunit",
- "opencv",
- "six",
- "pytz"]
- type : "salome"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
+++ /dev/null
-GUI :
-{
- name : "GUI"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/gui.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- environ :
- {
- }
- depend : ["KERNEL",
- "Python",
- "qt",
- "sip",
- "PyQt",
- "boost",
- "swig",
- "CAS",
- "qwt",
- "hdf5",
- "freetype",
- "freeimage",
- "gl2ps",
- "ParaView",
- "omniORB",
- "doxygen",
- "graphviz",
- "docutils",
- "libxml2",
- "cppunit"]
- type : "salome"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
+++ /dev/null
-Homard :
-{
- name : "Homard"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-Jinja2 :
-{
- name : "Jinja2"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python', 'setuptools', 'markupsafe']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-KERNEL :
-{
- name : "KERNEL"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/kernel.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- environ :
- {
- }
- depend : ["Python",
- "boost",
- "swig",
- "numpy",
- "lapack",
- "hdf5",
- "omniORB",
- "omniORBpy",
- "graphviz",
- "docutils",
- "doxygen",
- "libxml2",
- "Sphinx",
- "Jinja2",
- "setuptools",
- "Pygments",
- "cppunit",
- "pytz"]
- opt_depend : ["LIBBATCH"]
- type : "salome"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
+++ /dev/null
-LIBBATCH :
-{
- name : "LIBBATCH"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/tools/libbatch.git"
- repo_dev : "ssh://gitolite3@git.salome-platform.org/tools/libbatch.git"
- }
- environ :
- {
- }
- depend : ["cmake", "Python", "swig", "cppunit"]
- type : "salome"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
\ No newline at end of file
+++ /dev/null
-MEDCOUPLING :
-{
- name : "MEDCOUPLING"
- build_source : "cmake"
- cmake_options : "-DMEDCOUPLING_PARTITIONER_METIS=OFF -DMEDCOUPLING_PARTITIONER_SCOTCH=OFF"
- get_source : "git"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/tools/medcoupling.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- environ :
- {
- MEDCOUPLING_ROOT_DIR : $install_dir
- _LD_LIBRARY_PATH :
- [
- '${MEDCOUPLING_ROOT_DIR}' + $VARS.sep + 'lib'
- ]
- _PYTHONPATH :
- [
- '${MEDCOUPLING_ROOT_DIR}' + $VARS.sep + 'lib' + $VARS.sep + 'python2.7' + $VARS.sep + 'site-packages'
- '${MEDCOUPLING_ROOT_DIR}' + $VARS.sep + 'bin'
- ]
- _PATH :
- [
- '${MEDCOUPLING_ROOT_DIR}' + $VARS.sep + 'bin'
- ]
- }
- depend : [
- "boost",
- "CAS",
- "Python",
- "swig",
- "hdf5",
- "med",
- "scotch",
- "omniORB",
- "qt",
- "ParaView",
- "doxygen",
- "graphviz",
- "metis",
- "docutils",
- "libxml2",
- "cppunit",
- "Sphinx",
- "setuptools",
- "six",
- "pytz",
- "numpy",
- "scipy",
- "lapack"
- ]
- type : "salome"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
+++ /dev/null
-MeshGems :
-{
- name : "MeshGems"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-PRODUCT_ARCHIVE :
-{
- name : "PRODUCT_ARCHIVE"
- build_source : "cmake"
- get_source : "native"
- archive_info:
- {
- archive_name : $VARS.salometoolsway + $VARS.sep + '..' + $VARS.sep + 'RESOURCES' + $VARS.sep + 'test-product-4.4.2.tar.gz'
- }
- environ :
- {
- }
- depend : []
- opt_depend : []
- type : "sample"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- patches : ['/home/salome/salomeTools-4.3.7/data/compil_scripts/patches/scipy.patch', '/export/home/serioja/MODULE_ARCHIVE.patch']
-}
-
-PRODUCT_ARCHIVE_4_4_2 :
-{
- name : "PRODUCT_ARCHIVE"
- build_source : "cmake"
- get_source : "archive"
- archive_info:
- {
- archive_name : $VARS.salometoolsway + $VARS.sep + '..' + $VARS.sep + 'RESOURCES' + $VARS.sep + 'test-product-4.4.2.tar.gz'
- }
- environ :
- {
- env_script : "/home/sr755891/SAT-ETENDU/00-DEV/RESOURCES/env_scripts/pytz.py"
- build:
- {
- "_LD_LIBRARY_PATH" : "COUCOU"
- "_PYTHONPATH" : ["TEST" + $VARS.sep + "lib"
- "TEST" + $VARS.sep + "${PYTHON_LIBDIR0}"
- "TEST" + $VARS.sep + "${PYTHON_LIBDIR1}"]
- }
- }
- present_files :
- {
- source : ['my_test_file.txt', 'my_test_file.txt~']
- install : []
- }
- depend : ['PRODUCT_NATIVE']
- opt_depend : []
- type : "sample"
- has_gui : "yes"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- patches : []
-}
\ No newline at end of file
+++ /dev/null
-PRODUCT_CVS_V6_7_0 :
-{
- name : "PRODUCT_CVS"
- build_source : "autotools"
- get_source : "cvs"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/kernel.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- archive_info:
- {
- archive_name : ''
- }
- cvs_info:
- {
- server : "cvs.opencascade.com"
- product_base : "/home/server/cvs/KERNEL"
- source : 'KERNEL_SRC'
- }
- environ :
- {
- }
- depend : ["PRODUCT_DEV"]
- opt_depend : []
- type : "sample"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
\ No newline at end of file
+++ /dev/null
-MODULE_DEFAULTVERSION :
-{
- name : "MODULE_DEFAULTVERSION"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/kernel.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- archive_info:
- {
- archive_name : ''
- }
- cvs_info:
- {
- server : "cvs.opencascade.com"
- module_base : "/home/server/cvs/KERNEL"
- source : 'KERNEL_SRC'
- }
- environ :
- {
-
- }
- depend : []
- opt_depend : []
- type : "sample"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
\ No newline at end of file
+++ /dev/null
-PRODUCT_DEV :
-{
- name : "PRODUCT_DEV"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : $VARS.salometoolsway + $VARS.sep + '..' + $VARS.sep + 'RESOURCES' + $VARS.sep + 'test-product.git'
- repo_dev : $repo
- }
- environ :
- {
-
- }
- depend : []
- opt_depend : []
- type : "sample"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- patches : [$VARS.salometoolsway + $VARS.sep + '..' + $VARS.sep + 'RESOURCES' + $VARS.sep + 'mypatch.patch']
-}
\ No newline at end of file
+++ /dev/null
-PRODUCT_FIXED :
-{
- name : "PRODUCT_FIXED"
- get_source : "fixed"
- environ :
- {
-
- }
- type : "sample"
-}
\ No newline at end of file
+++ /dev/null
-PRODUCT_GIT :
-{
- name : "PRODUCT_GIT"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : $VARS.salometoolsway + $VARS.sep + '..' + $VARS.sep + 'RESOURCES' + $VARS.sep + 'test-product.git'
- repo_dev : $repo
- }
- environ :
- {
- build : {"ONLY_FOR_BUILD" : "HELLO"}
- }
- depend : ["PRODUCT_ARCHIVE", "PRODUCT_NATIVE"]
- opt_depend : []
- type : "salome"
- has_gui : "yes"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : "base"
- patches : []
-}
\ No newline at end of file
+++ /dev/null
-MODULE_NATIVE :
-{
- name : "MODULE_NATIVE"
- build_source : "cmake"
- get_source : "native"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/kernel.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- archive_info:
- {
- archive_name : '/data/tmpsalome/salome/prerequis/archives/tclx8.4.tar.bz2'
- }
- svn_info:
- {
- repo: 'https://www-svn-corpus.cea.fr/corpus/CORPUS'
- }
- environ :
- {
-
- }
- depend : []
- opt_depend : []
- type : "sample"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
\ No newline at end of file
+++ /dev/null
-PRODUCT_SVN :
-{
- name : "PRODUCT_SVN"
- build_source : "cmake"
- get_source : "svn"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/kernel.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- archive_info:
- {
- archive_name : '/data/tmpsalome/salome/prerequis/archives/tclx8.4.tar.bz2'
- }
- svn_info:
- {
- repo: 'https://www-svn-corpus.cea.fr/corpus/CORPUS'
- }
- environ :
- {
-
- }
- depend : []
- opt_depend : []
- type : "sample"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
\ No newline at end of file
+++ /dev/null
-PRODUCT_UNKNOWN :
-{
- name : "PRODUCT_UNKNOWN"
- build_source : "cmake"
- get_source : "unknown"
- environ :
- {
-
- }
- depend : []
- opt_depend : []
- type : "sample"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
\ No newline at end of file
+++ /dev/null
-ParMetis_3_1_1 :
-{
- name : "ParMetis"
- build_source : "script"
- compil_script : $name + "-3.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- opt_depend : ["openmpi"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-PyQt :
-{
- name : "PyQt"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python', 'qt', 'sip']
- patches : [
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + "patchPyQt496noPhonon.patch"
- ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-Pygments :
-{
- name : "Pygments"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["Python", "setuptools"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-Python :
-{
- name : "Python"
- build_source : "script"
- compil_script : "Python.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-SALOME_PROFILE :
-{
- name : "SALOME_PROFILE"
- build_source : "cmake"
- get_source : "git"
- git_info:
- {
- repo : "/home/salome/GitRepo/" + $name + ".git"
- repo_dev : $repo
- }
- environ :
- {
- }
- depend : ["KERNEL", "GUI", "Python", "Sphinx", "qt"]
- patches : [$VARS.datadir + $VARS.sep + "patches" + $VARS.sep + "SALOME_PROFILE_NO_ENV.patch"]
- type : "salome"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
+++ /dev/null
-SMESH :
-{
- name : "SMESH"
- build_source : "cmake"
- cmake_options : "-DSALOME_SMESH_USE_CGNS:BOOL=ON"
- get_source : "git"
- git_info:
- {
- repo : "http://git.salome-platform.org/gitpub/modules/smesh.git"
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- environ :
- {
- }
- depend : ["KERNEL",
- "GUI",
- "GEOM",
- "MEDCOUPLING",
- "Python",
- "qt",
- "PyQt",
- "boost",
- "swig",
- "CAS",
- "hdf5",
- "med",
- "qwt",
- "ParaView",
- "libxml2",
- "omniORB",
- "doxygen",
- "graphviz",
- "docutils",
- "Sphinx",
- "Jinja2",
- "setuptools",
- "Pygments",
- "cppunit",
- "cgns",
- "six",
- "pytz"
- ]
- type : "salome"
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
-}
+++ /dev/null
-Sphinx :
-{
- name : "Sphinx"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["Python", "setuptools", "Pygments", "Jinja2", "docutils"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-boost :
-{
- name : "boost"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python' ]
- opt_depend : ['openmpi' ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-cgns :
-{
- name : "cgns"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["hdf5", "cmake"]
- opt_depend : ["openmpi"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-cmake :
-{
- name : "cmake"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-cppunit :
-{
- name : "cppunit"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-dateutil :
-{
- name : "dateutil"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python', 'setuptools', 'six']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-distribute :
-{
- name : "distribute"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-docutils :
-{
- name : "docutils"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["Python", "setuptools"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-doxygen_1_8_3_1 :
-{
- name : "doxygen"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["graphviz"]
- patches : [
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "-1.8.3.1.patch"
- ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-fftw :
-{
- name : "fftw"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-freeimage_3_16_0 :
-{
- name : "freeimage"
- build_source : "script"
- compil_script : $name + "-3.16.0.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-freetype_2_4_11 :
-{
- name : "freetype"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.4.11.tar.gz"
- }
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- patches : [$VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "-2.4.11_ft_export_FD20.patch" ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-gl2ps_1_3_8 :
-{
- name : "gl2ps"
- build_source : "cmake"
- cmake_options : "-DCMAKE_BUILD_TYPE=Release -DENABLE_ZLIB=OFF -DENABLE_PNG=OFF"
- get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.3.8.tar.gz"
- }
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["cmake"]
- patches : [
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "-1.3.8_link_libm_FD20.patch"
- ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-graphviz_2_38_0 :
-{
- name : "graphviz"
- build_source : "script"
- compil_script : $name + "-2.38.0.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["tcl", "tk"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-hdf5 :
-{
- name : "hdf5"
- build_source : "script"
- compil_script : $name + "CMake.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['cmake']
- opt_depend : [ 'openmpi']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-lapack :
-{
- name : "lapack"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python', 'cmake']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-libxml2_2_9_0 :
-{
- name : "libxml2"
- build_source : "script"
- compil_script : $name + "_2_9_2.sh"
- get_source : "archive"
- archive_info:
- {
- }
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python' ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-markupsafe :
-{
- name : "markupsafe"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python', 'setuptools']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-matplotlib_1_4_3 :
-{
- name : "matplotlib"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.4.3.tar.gz"
- }
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python', 'numpy', 'freetype', 'six', 'pytz', 'distribute', 'pyparsing', 'dateutil']
- patches : [
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "_1_4_3_patch_freetype_detection_for_SAT.patch"
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "-1.4.3_no_auto_download.patch"
- ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-med :
-{
- name : "med"
- build_source : "script"
- compil_script : $name + "CMake.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["hdf5", "cmake"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-metis :
-{
- name : "metis"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-netgen_4_9_13 :
-{
- name : "netgen"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-4.9.13.tar.gz"
- }
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['CAS', 'tcl', 'tk', "freetype"]
- patches : [
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "49ForSalome.patch"
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "-4.9.13_without_togl.patch"
- ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-numpy :
-{
- name : "numpy"
- build_source : "script"
- compil_script : "numpy.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["Python"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-omniORB :
-{
- name : "omniORB"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-omniORBpy :
-{
- name : "omniORBpy"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['omniORB', 'Python' ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-opencv :
-{
- name : "opencv"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["Python", "Sphinx", "cmake", "numpy"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-ParaView_5_0_1p1 :
-{
- name : "ParaView"
- build_source : "script"
- compil_script : $name + "-5.0.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['cmake', 'Python', 'hdf5', 'qt', 'boost', 'gl2ps', 'libxml2', 'freetype', 'matplotlib']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-pyparsing :
-{
- name : "pyparsing"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-pyreadline :
-{
- name : "pyreadline"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-pytz :
-{
- name : "pytz"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-qt_4_8_4 :
-{
- name : "qt"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- patches : [
- $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + $name + "-4.8.4-enable-webkit-compilation-whith-gcc5.patch"
- ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-qwt_6_1_0 :
-{
- name : "qwt"
- build_source : "script"
- compil_script : $name + "-6.1.0.sh"
- get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-6.1.0.tar.bz2"
- }
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['qt']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-scipy_0_15_1 :
-{
- name : "scipy"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python','numpy','lapack', 'cmake']
- patches : [ $VARS.datadir + $VARS.sep + "patches" + $VARS.sep + "scipy-0.14.1.patch" ]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-scotch_5_1_12b :
-{
- name : "scotch"
- build_source : "script"
- compil_script : $name + "-5.1.12.sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-setuptools :
-{
- name : "setuptools"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
+++ /dev/null
-sip :
-{
- name : "sip"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python', 'qt']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-six :
-{
- name : "six"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ['Python']
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-softA :
-{
- name : "softA"
- build_source : "cmake" # ou autotools, ou script
- get_source : "git" # "archive", embedded", "native" "fixed"
- cvs_info:
- {
- server : $SITE.prepare.default_cvs_server
- module_base : $SITE.prepare.cvs_dir + $name
- source : 'softA_SRC'
- }
- git_info:
- {
- repo : $SITE.prepare.default_git_server + $VARS.sep + $name
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $VARS.sep + $name + '.tar.gz'
- }
- environ :
- {
-
- }
- depend : []
- opt_depend : []
-}
\ No newline at end of file
+++ /dev/null
-softB :
-{
- name : "softB"
- build_source : "cmake" # ou autotools, ou script
- get_source : "git" # "archive", embedded", "native" "fixed"
- cvs_info:
- {
- server : $SITE.prepare.default_cvs_server
- module_base : $SITE.prepare.cvs_dir + $name
- source : 'softB_SRC'
- }
- git_info:
- {
- repo : $SITE.prepare.default_git_server + $VARS.sep + $name
- repo_dev : $SITE.prepare.default_git_server_dev + $VARS.sep + $name
- }
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $VARS.sep + $name + '.tar.gz'
- }
- environ :
- {
-
- }
- depend : ['softA']
- opt_depend : []
-}
\ No newline at end of file
+++ /dev/null
-swig :
-{
- name : "swig"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-tcl :
-{
- name : "tcl"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : []
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
+++ /dev/null
-tk :
-{
- name : "tk"
- build_source : "script"
- compil_script : $name + ".sh"
- get_source : "archive"
- environ :
- {
- env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
- }
- depend : ["tcl"]
- source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
- build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
- install_dir : 'base'
-}
\ No newline at end of file
SITE :
{
- config :
- {
- config_path : ["/home/salome/SPN_PRIVATE/sat5dev_Applications"]
- copy_prefix : "LOCAL_"
- }
- prepare :
- {
- default_git_server : "http://default.git"
- default_git_server_dev : "http://default_dev.git"
- archive_dir : "/data/tmpsalome/salome/prerequis/archives/"
- cvs_dir : "/test"
- default_cvs_server : "http://default.cvs"
- }
log :
{
log_dir : $USER.workdir + "/LOGS"
}
}
+PROJECTS :
+{
+project_file_paths : ["/home/salome/SPN_PRIVATE/SAT5/SALOME-PROJECT/salome.pyconf"]
+}
# is a file path that can be written
if self.options.logs_paths_in_file:
try:
+ self.options.logs_paths_in_file = os.path.abspath(
+ self.options.logs_paths_in_file)
dir_file = os.path.dirname(self.options.logs_paths_in_file)
if not os.path.exists(dir_file):
os.makedirs(dir_file)
except:
return False
+def find_file_in_lpath(file_name, lpath, additional_dir = ""):
+ """Find in all the directories in lpath list the file that has the same name
+ as file_name. If it is found, return the full path of the file, else,
+ return False.
+ The additional_dir (optional) is the name of the directory to add to all
+ paths in lpath.
+
+ :param file_name str: The file name to search
+ :param lpath List: The list of directories where to search
+ :param additional_dir str: The name of the additional directory
+ :return: the full path of the file or False if not found
+ :rtype: str
+ """
+ for directory in lpath:
+ dir_complete = os.path.join(directory, additional_dir)
+ if not os.path.isdir(directory) or not os.path.isdir(dir_complete):
+ continue
+ l_files = os.listdir(dir_complete)
+ for file_n in l_files:
+ if file_n == file_name:
+ return os.path.join(dir_complete, file_name)
+ return False
+
def handleRemoveReadonly(func, path, exc):
excvalue = exc[1]
if func in (os.rmdir, os.remove) and excvalue.errno == errno.EACCES:
INTERNAL :
{
sat_version : "5.0.0dev"
+ config :
+ {
+ copy_prefix : "LOCAL_"
+ }
log :
{
not_shown_commands : ["log"]
}
- compile :
- {
- default_script_dir : $VARS.datadir + $VARS.sep + "compil_scripts"
- }
}
PRODUCTS :
{
# in config.PRODUCTS. This is done because the pyconf tool does not handle
# the . and - characters
for c in ".-": vv = vv.replace(c, "_")
- full_product_name = product_name + '_' + vv
-
- prod_info = None
- # If it exists, get the information of the product_version
- if full_product_name in config.PRODUCTS:
- # returns specific information for the given version
- prod_info = config.PRODUCTS[full_product_name]
- # Get the standard informations
- elif product_name in config.PRODUCTS:
- # returns the generic information (given version not found)
- prod_info = config.PRODUCTS[product_name]
- # merge opt_depend in depend
- if prod_info is not None and 'opt_depend' in prod_info:
- for depend in prod_info.opt_depend:
- if depend in config.PRODUCTS:
- prod_info.depend.append(depend,'')
-
- # In case of a product get with a vcs, put the tag (equal to the version)
- if prod_info is not None and prod_info.get_source in AVAILABLE_VCS:
+ prod_info = None
+ if product_name in config.PRODUCTS:
+ # If it exists, get the information of the product_version
+ if "version_" + vv in config.PRODUCTS[product_name]:
+ # returns specific information for the given version
+ prod_info = config.PRODUCTS[product_name]["version_" + vv]
+ # Get the standard informations
+ elif "default" in config.PRODUCTS[product_name]:
+ # returns the generic information (given version not found)
+ prod_info = config.PRODUCTS[product_name].default
- if prod_info.get_source == 'git':
- prod_info.git_info.tag = version
+ # merge opt_depend in depend
+ if prod_info is not None and 'opt_depend' in prod_info:
+ for depend in prod_info.opt_depend:
+ if depend in config.PRODUCTS:
+ prod_info.depend.append(depend,'')
- if prod_info.get_source == 'svn':
- prod_info.svn_info.tag = version
+ # In case of a product get with a vcs,
+ # put the tag (equal to the version)
+ if prod_info is not None and prod_info.get_source in AVAILABLE_VCS:
+
+ if prod_info.get_source == 'git':
+ prod_info.git_info.tag = version
+
+ if prod_info.get_source == 'svn':
+ prod_info.svn_info.tag = version
+
+ if prod_info.get_source == 'cvs':
+ prod_info.cvs_info.tag = version
- if prod_info.get_source == 'cvs':
- prod_info.cvs_info.tag = version
-
- # In case of a fixed product, define the install_dir (equal to the version)
- if prod_info is not None and prod_info.get_source=="fixed":
- prod_info.install_dir = version
-
- # Check if the product is defined as native in the application
- if prod_info is not None:
- if version == "native":
- prod_info.get_source = "native"
- elif prod_info.get_source == "native":
- msg = _("The product %(prod)s has version %(ver)s but is declared"
- " as native in its definition" %
- { 'prod': prod_info.name, 'ver': version})
- raise src.SatException(msg)
+ # In case of a fixed product,
+ # define the install_dir (equal to the version)
+ if prod_info is not None and prod_info.get_source=="fixed":
+ prod_info.install_dir = version
+
+ # Check if the product is defined as native in the application
+ if prod_info is not None:
+ if version == "native":
+ prod_info.get_source = "native"
+ elif prod_info.get_source == "native":
+ msg = _("The product %(prod)s has version %(ver)s but is "
+ "declared as native in its definition" %
+ { 'prod': prod_info.name, 'ver': version})
+ raise src.SatException(msg)
# If there is no definition but the product is declared as native,
# construct a new definition containing only the get_source key
prod_info.addMapping("archive_info",
src.pyconf.Mapping(prod_info),
"")
- if "archive_name" not in prod_info.archive_info:
- arch_name = os.path.join(config.SITE.prepare.archive_dir,
- product_name + "-" + version + ".tar.gz")
- prod_info.archive_info.archive_name = arch_name
+ if ("archive_name" not in prod_info.archive_info or
+ os.path.basename(prod_info.archive_info.archive_name) ==
+ prod_info.archive_info.archive_name):
+ arch_name = product_name + "-" + version + ".tar.gz"
+ arch_path = src.find_file_in_lpath(arch_name,
+ config.PATHS.ARCHIVEPATH)
+ if not arch_path:
+ msg = _("Archive %(arch_name)s for %(prod_name)s not found:"
+ "\n" % {"arch_name" : arch_name,
+ "prod_name" : prod_info.name})
+ raise src.SatException(msg)
+
+ prod_info.archive_info.archive_name = arch_path
# Set the install_dir key
if "install_dir" not in prod_info:
script_name = os.path.basename(script)
if script == script_name:
# Only a name is given. Search in the default directory
- script_path = os.path.join(
- config.INTERNAL.compile.default_script_dir, script_name)
+ script_path = src.find_file_in_lpath(script_name,
+ config.PATHS.PRODUCTPATH,
+ "compil_scripts")
prod_info.compil_script = script_path
# Check script existence
raise src.SatException(
_("Compilation script cannot be executed: %s") %
prod_info.compil_script)
-
+
+ # Get the full paths of all the patches
+ if "patches" in prod_info:
+ patches = []
+ for patch in prod_info.patches:
+ patch_path = patch
+ # If only a filename, then search for the patch in the PRODUCTPATH
+ if os.path.basename(patch_path) == patch_path:
+ # Search in the PRODUCTPATH/patches
+ patch_path = src.find_file_in_lpath(patch,
+ config.PATHS.PRODUCTPATH,
+ "patches")
+ if not patch_path:
+ msg = _("Patch %(patch_name)s for %(prod_name)s not found:"
+ "\n" % {"patch_name" : patch,
+ "prod_name" : prod_info.name})
+ raise src.SatException(msg)
+ patches.append(patch_path)
+ prod_info.patches = patches
+
+ # Get the full paths of the environment scripts
+ if "environ" in prod_info and "env_script" in prod_info.environ:
+ env_script_path = prod_info.environ.env_script
+ # If only a filename, then search for the environment script
+ # in the PRODUCTPATH/env_scripts
+ if os.path.basename(env_script_path) == env_script_path:
+ # Search in the PRODUCTPATH/env_scripts
+ env_script_path = src.find_file_in_lpath(
+ prod_info.environ.env_script,
+ config.PATHS.PRODUCTPATH,
+ "env_scripts")
+ if not env_script_path:
+ msg = _("Environment script %(env_name)s for %(prod_name)s not "
+ "found.\n" % {"env_name" : env_script_path,
+ "prod_name" : prod_info.name})
+ raise src.SatException(msg)
+
+ prod_info.environ.env_script = env_script_path
+
return prod_info
def get_products_infos(lproducts, config):
'''
def test_compile(self):
- '''Test the configure command with --products option
+ '''Test the compile command with --products option
'''
OK = 'KO'
OK = "KO"
# The command to test
- sat = Sat("-oSITE.prepare.default_git_server='testgit'")
+ sat = Sat("-oSITE.jobs.config_path='/tmp'")
sat.config()
- if sat.cfg.SITE.prepare.default_git_server == 'testgit':
+ if sat.cfg.SITE.jobs.config_path == '/tmp':
OK = "OK"
# pyunit method to compare 2 str
OK = "KO"
# The command to test
- sat = Sat("-oPRODUCTS.softA.name='test'")
+ sat = Sat("-oPRODUCTS.PRODUCT_GIT.default.name='test'")
sat.config('')
- if sat.cfg.PRODUCTS.softA.name == 'test':
+ if sat.cfg.PRODUCTS.PRODUCT_GIT.default.name == 'test':
OK = "OK"
# pyunit method to compare 2 str
sat = Sat("-l " + tmp_file)
# Execute the job command
- sat.job("--jobs_config .test --job Job 1" )
+ sat.job("--jobs_config .test --name Job 1" )
ff = open(tmp_file, "r")
log_files = ff.readlines()
sat = Sat("-l " + tmp_file)
# Execute the job command
- res = sat.job("--jobs_config .test --job Job 4" )
+ res = sat.job("--jobs_config .test --name Job 4" )
if res == 1:
OK = 'OK'
sat = Sat("-l " + tmp_file)
# Execute the job command
- res = sat.job("--jobs_config NOTEXIST --job Job 4" )
+ res = sat.job("--jobs_config NOTEXIST --name Job 4" )
if res == 1:
OK = 'OK'
sat = Sat("-l " + tmp_file)
# Execute the job command
- res = sat.job("--job Job 4" )
+ res = sat.job("--name Job 4" )
if res == 1:
OK = 'OK'
sat = Sat("-l " + tmp_file)
# Execute the job command
- res = sat.job("--jobs_config .test --job NOTEXIST" )
+ res = sat.job("--jobs_config .test --name NOTEXIST" )
if res == 1:
OK = 'OK'
appli = 'appli-test'
product_name = 'PRODUCT_DEV'
- sat = Sat("-oPRODUCTS.PRODUCT_DEV.patches=['/']")
+ sat = Sat("-oPRODUCTS.PRODUCT_DEV.default.patches=['/']")
sat.source(appli + ' --product ' + product_name)