]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
windows debug mode
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 20 Jan 2022 16:17:13 +0000 (17:17 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 20 Jan 2022 16:17:18 +0000 (17:17 +0100)
products/Cython.pyconf
products/ParaView.pyconf
products/compil_scripts/PyQt-5.15.bat
products/compil_scripts/psutil-5.7.2.bat
products/compil_scripts/sip-5.5.0.bat
products/sphinxintl.pyconf
products/zlib.pyconf

index 007d5fecc5b4f044d07a0fed56ba43e761e976a2..f2aead40826dd0c6ff966ac448c45fcca92c82da 100755 (executable)
@@ -46,7 +46,7 @@ version_0_29_12_win_dbg :
     {
        env_script : $name + ".py"
     }
-    depend : ['Python', 'setuptools']
+    depend : ['Python', 'setuptools', 'sip'] # in debug mode
     opt_depend: ['psutil']
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
index 00903ecd1fc2b9390f33f223e4701e0a404ddd9b..5ea312633e4267a5030b9b459c7dc4ff93e3c348 100755 (executable)
@@ -216,7 +216,8 @@ version_5_9_0_win :
                'paraview.0008-ParaView_coincident_rendering.patch',
                'paraview.0011-ParaView_protobuf_crash.patch',
                'paraview.0018-spns-26351-autoconvert.patch',
-               'paraview.0019-spns-26344-VTK-OpenMP.patch'
+               'paraview.0019-spns-26344-VTK-OpenMP.patch',
+               'paraview.0015-Paraview_VTKM_ioss.patch'
               ]
 }
 
index 747ecf3f6b90cb78b3165e3a83963cf47a4d8944..02d1263219db53de8d2def92dc0ac42987fbb616 100644 (file)
@@ -20,21 +20,24 @@ echo.
 echo --------------------------------------------------------------------------
 echo *** python configure.py
 echo --------------------------------------------------------------------------
+
 SET BUILD_OPTIONS=
-SET BUILD_OPTIONS=%BUILD_OPTIONS% -b %PRODUCT_INSTALL%/bin 
-SET BUILD_OPTIONS=%BUILD_OPTIONS% -d %PRODUCT_INSTALL%
-SET BUILD_OPTIONS=%BUILD_OPTIONS% -v %PRODUCT_INSTALL%/sip
-SET BUILD_OPTIONS=%BUILD_OPTIONS% --stubsdir=%PRODUCT_INSTALL%/lib/site-packages
-SET BUILD_OPTIONS=%BUILD_OPTIONS% --designer-plugindir=%PRODUCT_INSTALL%/plugins/designer
-SET BUILD_OPTIONS=%BUILD_OPTIONS% --qml-plugindir=%PRODUCT_INSTALL%/plugins/qml
+if %SAT_DEBUG% == 1 (
+ SET BUILD_OPTIONS= --debug --no-dist-info -u
+)
+
+SET BUILD_OPTIONS=%BUILD_OPTIONS% -b %PRODUCT_INSTALL:\=/%/bin
+SET BUILD_OPTIONS=%BUILD_OPTIONS% -d %PRODUCT_INSTALL:\=/%
+SET BUILD_OPTIONS=%BUILD_OPTIONS% -v %PRODUCT_INSTALL:\=/%/sip
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --stubsdir=%PRODUCT_INSTALL:\=/%/lib/site-packages
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --designer-plugindir=%PRODUCT_INSTALL:\=/%/plugins/designer
+SET BUILD_OPTIONS=%BUILD_OPTIONS% --qml-plugindir=%PRODUCT_INSTALL:\=/%/plugins/qml
 SET BUILD_OPTIONS=%BUILD_OPTIONS% --no-qsci-api
 SET BUILD_OPTIONS=%BUILD_OPTIONS% --spec=win32-msvc
 SET BUILD_OPTIONS=%BUILD_OPTIONS% --confirm-license
 SET BUILD_OPTIONS=%BUILD_OPTIONS% --disable=QtNfc --disable=QtNetwork --disable=QtWebSockets 
 SET BUILD_OPTIONS=%BUILD_OPTIONS% --target-py-version=%PYTHON_VERSION%
-if %SAT_DEBUG% == 1 (
- SET BUILD_OPTIONS=%BUILD_OPTIONS% -u
-)
+
 %PYTHONBIN% configure.py %BUILD_OPTIONS:\=/% 
 if NOT %ERRORLEVEL% == 0 (
     echo ERROR on python configure.py %BUILD_OPTIONS:\=/% 
index f980acafaca77f3df19b7b8d12c5609f2d5c7c8f..e54a83b8aa95add354579ecc157aa515014a90c2 100644 (file)
@@ -8,6 +8,11 @@ IF NOT DEFINED SAT_DEBUG (
   SET SAT_DEBUG=0
 )
 
+set BUILD_OPT=
+if %SAT_DEBUG% == 1 (
+   set BUILD_OPT=--debug
+)
+
 if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
 REM clean BUILD directory
 if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
@@ -21,9 +26,9 @@ set PYTHONPATH=%PYTHONPATH%;%PRODUCT_INSTALL%\Lib\site-packages
 
 echo.
 echo *** 
-%PYTHONBIN% setup.py build --debug install --prefix=%PRODUCT_INSTALL%
+%PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
 if NOT %ERRORLEVEL% == 0 (
-  echo ERROR on psutil running %PYTHONBIN% setup.py build --debug install --prefix=%PRODUCT_INSTALL%
+  echo ERROR on psutil running %PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
   exit 1
 )
 echo.
index 3048aca130499624ab907934eaffa71623c4cabd..1ac425eefd2c5a3085b5664bd400a6fc9eb821fe 100644 (file)
@@ -8,6 +8,10 @@ IF NOT DEFINED SAT_DEBUG (
   SET SAT_DEBUG=0
 )
 
+set BUILD_OPT=
+if %SAT_DEBUG% == 1 (
+   set BUILD_OPT=--debug
+)
 
 if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
 REM clean BUILD directory
@@ -22,15 +26,15 @@ set PYTHONPATH=%PYTHONPATH%;%PRODUCT_INSTALL%\Lib\site-packages
 
 echo.
 echo *** 
-%PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL%
+%PYTHONBIN% setup.py build  %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
 if NOT %ERRORLEVEL% == 0 (
-  echo ERROR on SIP running  %PYTHONBIN% setup.py  build install   --prefix=%PRODUCT_INSTALL%
+  echo ERROR on SIP running  %PYTHONBIN% setup.py  build  %BUILD_OPT% install   --prefix=%PRODUCT_INSTALL%
   exit 1
 )
 cd %BUILD_DIR%\PyQt5_sip-12.8.1
-%PYTHONBIN% setup.py build install --prefix=%PRODUCT_INSTALL%
+%PYTHONBIN% setup.py build  %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
 if NOT %ERRORLEVEL% == 0 (
-  echo ERROR on PYQT_SIP running  %PYTHONBIN% setup.py  build install  --prefix=%PRODUCT_INSTALL%
+  echo ERROR on PYQT_SIP running  %PYTHONBIN% setup.py  build  %BUILD_OPT% install  --prefix=%PRODUCT_INSTALL%
   exit 2
 )
 
index 4e9337f0b55ebd4c8d6ec20e5724c93bc6983353..c81fff93e944be28785f2af8711cf39e6fd83556 100644 (file)
@@ -15,7 +15,7 @@ default :
     {
         env_script : "sphinxintl.py"
     }
-    depend : ['Python', 'setuptools', 'click', 'Sphinx','Babel','six','pytz']
+    depend : ['Python', 'setuptools', 'click', 'Sphinx','Babel','six','pytz', 'colorama']
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
     install_dir : 'base'
index 3d6e7a0cd5f515df7d0ff8839a6e22ef99852291..93a9ac182830b1c0053ea6ac47f1a8168f281540 100755 (executable)
@@ -37,3 +37,13 @@ version_1_2_11_win:
    archive_info : {archive_name : "zlib-" + $APPLICATION.products.zlib + ".tar.gz"}
    compil_script : 'zlib-1.2.11.bat'
 }
+
+version_1_2_5:
+{
+}
+
+version_1_2_5_win:
+{
+   archive_info : {archive_name : "zlib-" + $APPLICATION.products.zlib + ".tar.gz"}
+   compil_script : 'zlib-1.2.5.bat'
+}