netgen : '5.3.1_with_CAS_7.2'
nlopt : '2.4.2'
numpy : 'native'
- omniORB : '4.2.2'
- omniORBpy : '4.2.2'
+ omniORB : '4.2.4'
+ omniORBpy : '4.2.4'
opencv : 'native'
openturns: '1.16'
ospray : '1.8.4'
# 'APPLICATION.products.omniORBpy' : 'native'
# }
#]
+
rpm : ["python3-qt5"]
rpm_dev : ["python3-qt5-devel"]
apt : ["python3-pyqt5"]
- apt_dev : ["pyqt5-dev"]
+ apt_dev : ["pyqt5-dev", "pyqt5-dev-tools"]
}
environ :
{
{
rpm : ["boost"]
rpm_dev : ["boost-devel"]
- apt : ["libboost-regex", "libboost-thread" , "libboost-serialization",
- "libboost-chrono", "libboost-filesystem", "libboost-system",
- "libboost-date-time", "libboost-graph"]
- apt_dev : ["libboost-regex-dev", "libboost-thread-dev", "libboost-serialization-dev",
- "libboost-chrono-dev", "libboost-filesystem-dev", "libboost-system-dev",
- "libboost-date-time-dev", "libboost-graph-dev"]
+ apt : []
+ apt_dev : ["libboost-all-dev"]
}
environ :
{
{
rpm : ["cgnslib"]
rpm_dev : ["cgnslib-devel"]
- apt : ["libcgns3"]
+ apt : ["libcgns3.3"]
apt_dev : ["libcgns-dev"]
}
environ :
### Python settings
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_USE_PYTHON:BOOL=ON"
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_WRAP_PYTHON:BOOL=ON"
-if [ "${PYTHON_ROOT_DIR}" == "/usr" ]
+if [ "${PYTHON_ROOT_DIR}" != "/usr" ]
then
- CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPython3_INCLUDE_DIR:STRING=${PYTHON_ROOT_DIR}/include/python${PYTHON_VERSION}m"
- CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPython3_LIBRARY:STRING=${PYTHON_ROOT_DIR}/lib64/libpython${PYTHON_VERSION}m.so"
-else
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPython3_INCLUDE_DIR:STRING=${PYTHON_ROOT_DIR}/include/python${PYTHON_VERSION}"
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPython3_LIBRARY:STRING=${PYTHON_ROOT_DIR}/lib/libpython${PYTHON_VERSION}.so"
fi
### CGNS
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_USE_EXTERNAL_ParaView_cgns:BOOL=ON"
-CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCGNS_INCLUDE_DIR:PATH=${CGNS_ROOT_DIR}/include"
-if [ "$CGNS_ROOT_DIR" == "/usr" ]
+if [ "$CGNS_ROOT_DIR" != "/usr" ]
then
- CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCGNS_LIBRARY:PATH=${CGNS_ROOT_DIR}/lib64/libcgns.so"
-else
+ CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCGNS_INCLUDE_DIR:PATH=${CGNS_ROOT_DIR}/include"
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCGNS_LIBRARY:PATH=${CGNS_ROOT_DIR}/lib/libcgns.so"
fi
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_ENABLE_ParaView_cgns:INTERNAL=YES"
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=OFF"
### libxml2 settings
-if [ -n "$LIBXML2_ROOT_DIR" ]
+if [ -n "$LIBXML2_ROOT_DIR" ]
then
# with a native libxml2, do not use these options
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_USE_EXTERNAL_VTK_libxml2:BOOL=ON"
- CMAKE_OPTIONS="${CMAKE_OPTIONS} -DLIBXML2_INCLUDE_DIR:STRING=${LIBXML2_ROOT_DIR}/include/libxml2"
- if [ "${LIBXML2_ROOT_DIR}" == "/usr" ]
+ if [ "${LIBXML2_ROOT_DIR}" != "/usr" ]
then
- CMAKE_OPTIONS="${CMAKE_OPTIONS} -DLIBXML2_LIBRARIES:STRING=${LIBXML2_ROOT_DIR}/lib64/libxml2.so"
- else
+ 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"
fi
- CMAKE_OPTIONS="${CMAKE_OPTIONS} -DLIBXML2_XMLLINT_EXECUTABLE=${LIBXML2_ROOT_DIR}/bin/xmllint"
fi
### freetype settings
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_MODULE_USE_EXTERNAL_VTK_freetype:BOOL=ON"
-if [ -n "$FREETYPE_ROOT_DIR" ]
+if [ -n "$FREETYPE_ROOT_DIR" ]
then
# with a native freetype, do not use these options
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DFREETYPE_INCLUDE_DIRS:STRING=${FREETYPE_ROOT_DIR}/include/freetype2"
BFLAG="-m64"
OLEVEL="-O2"
-if [ "${TCLHOME}" == '/usr' ]
+if [ "${TCLHOME}" != '/usr' ]
then
- TCL_LIB_DIR=${TCLHOME}/lib64
-else
- TCL_LIB_DIR=${TCLHOME}/lib
+ TCK_TK_OPTIONS="--with-tcl=${TCL_LIB_DIR} --with-tk=${TCLHOME}/lib --with-tclinclude=${TCLHOME}/include"
fi
echo ./configure --prefix=${PRODUCT_INSTALL} \
--with-occ=${CASROOT} \
- --with-tcl=${TCL_LIB_DIR} \
- --with-tk=${TCL_LIB_DIR} \
--disable-openmp \
- --with-tclinclude=${TCLHOME}/include \
+ ${TCL_TK_OPTIONS} \
CXXFLAGS="-I${CASROOT}/include/opencascade ${OLEVEL} ${BFLAG} -std=c++0x"
./configure --prefix=${PRODUCT_INSTALL} \
--with-occ=${CASROOT} \
- --with-tcl=${TCL_LIB_DIR} \
- --with-tk=${TCL_LIB_DIR} \
--disable-openmp \
- --with-tclinclude=${TCLHOME}/include \
+ ${TCL_TK_OPTIONS} \
CXXFLAGS="-I${CASROOT}/include/opencascade ${OLEVEL} ${BFLAG} -std=c++0x" #-std=gnu++11" #-std=c++11 -std=c++0x"
-
+
if [ $? -ne 0 ]
then
echo "error on configure"
env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib'))
def set_nativ_env(env):
+
+ if "debian" in platform.platform() :
+ qt_lib_dir='/usr/lib/x86_64-linux-gnu'
+ else :
+ qt_lib_dir='/usr/lib64'
+
env.set('QT5_ROOT_DIR', '/usr')
- env.set('Qt5Core_DIR', '/usr/lib64/cmake/Qt5Core')
- env.set('Qt5Gui_DIR', '/usr/lib64/cmake/Qt5Gui')
- env.set('Qt5Widgets_DIR', '/usr/lib64/cmake/Qt5Widgets')
- env.set('Qt5Network_DIR', '/usr/lib64/cmake/Qt5Network')
- env.set('Qt5Xml_DIR', '/usr/lib64/cmake/Qt5Xml')
- env.set('Qt5OpenGL_DIR', '/usr/lib64/cmake/Qt5OpenGL')
- env.set('Qt5PrintSupport_DIR', '/usr/lib64/cmake/Qt5PrintSupport')
- env.set('Qt5Help_DIR', '/usr/lib64/cmake/Qt5Help')
- env.set('Qt5Test_DIR', '/usr/lib64/cmake/Qt5Test')
- env.set('Qt5X11Extras_DIR', '/usr/lib64/cmake/Qt5X11Extras')
+ env.set('Qt5Core_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5Core'))
+ env.set('Qt5Gui_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5Gui'))
+ env.set('Qt5Widgets_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5Widgets'))
+ env.set('Qt5Network_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5Network'))
+ env.set('Qt5Xml_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5Xml'))
+ env.set('Qt5OpenGL_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5OpenGL'))
+ env.set('Qt5PrintSupport_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5PrintSupport'))
+ env.set('Qt5Help_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5Help'))
+ env.set('Qt5Test_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5Test'))
+ env.set('Qt5X11Extras_DIR', os.path.join(qt_lib_dir, 'cmake/Qt5X11Extras'))
{
rpm : ["freeimage"]
rpm_dev : ["freeimage-devel"]
- apt : ["libfreeimage"]
+ apt : ["libfreeimage3"]
apt_dev : ["libfreeimage-dev"]
}
patches : []
{
rpm : ["freetype"]
rpm_dev : ["freetype-devel"]
- apt : ["libfreetype"]
+ apt : ["libfreetype6"]
apt_dev : ["libfreetype6-dev"]
}
environ :
{
rpm : []
rpm_dev : ["qt5-devel"]
- apt : ["build-essential"]
- apt_dev : ["libgl1-mesa-dev"]
+ apt : []
+ apt_dev : ["qttools5-dev", "libqt5svg5-dev", "libqt5x11extras5-dev", "qtxmlpatterns5-dev-tools"]
}
environ :
{
{
rpm : ["qwt-qt5"]
rpm_dev : ["qwt-qt5-devel"]
- apt : ["libqwt-qt5"]
+ apt : ["libqwt-qt5-6"]
apt_dev : ["libqwt-qt5-dev"]
}
environ :
{
rpm : ["scotch"]
rpm_dev : ["scotch-devel"]
- apt : ["libscotch"]
+ apt : []
apt_dev : ["libscotch-dev"]
}
environ :
{
rpm : ["python3-snowballstemmer"]
rpm_dev : []
- apt : ["python3-snowballstemmer"]
+ apt : ["python3-stemmer"]
apt_dev : []
}
environ :
build_source : "script"
compil_script : 'pip_install' + $VARS.scriptExtension
get_source : "archive"
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : ["sphinx-intl"]
+ apt_dev : []
+ }
environ :
{
env_script : "sphinxintl.py"
{
rpm : ["tbb"]
rpm_dev : ["tbb-devel"]
- apt : ["libtbb"]
+ apt : ["libtbb2"]
apt_dev : ["libtbb-dev"]
}
environ :