'KERNEL' : 'bos/41189'
'MEDCOUPLING' : 'master'
'GUI' : 'bos/41189'
- 'GEOM'
+ 'GEOM' : 'bos/41189'
'SMESH'
'NETGENPLUGIN'
'BLSURFPLUGIN' : 'bos/41189'
'APPLICATION.rm_products' : ['matplotlib', 'openturns', 'scipy', 'Pillow', 'PERSALYS', 'OPENTURNS_SALOME', 'cminpack', 'openblas', 'FMILibrary', 'PyFMI', 'fftw', 'statsmodels']
# TODO: cmake 3.24 screws things up by adding _d suffix to debug libraries to KERNEL
'APPLICATION.products.cmake' : {tag: '3.12.1', base: 'no', section : 'version_3_12_1' }
- 'APPLICATION.products.numpy' : {tag: '1.16.4', base: 'no', section : 'version_1_16_4_win_dbg' }
- 'APPLICATION.products.Cython' : {tag: '0.29.12', base: 'no', section : 'version_0_29_12_win_dbg' }
+ 'APPLICATION.products.numpy' : {tag: '1.21.6', base: 'no', section : 'version_1_21_6_win_dbg' }
+ 'APPLICATION.products.Cython' : {tag: '0.29.37', base: 'no', section : 'version_0_29_37_win_dbg' }
'APPLICATION.products.sphinxintl' : {tag: '2.0.0', base: 'no', section : 'version_2_0_0_win_dbg' }
'APPLICATION.products.llvm' : {tag: '8.0.1', base: 'no', section : 'version_8_0_1_clang_win_dbg'}
'APPLICATION.products.tbb' : {tag: '2019_U8', base: 'no', section : 'version_2019_U8_win_dbg' }
'APPLICATION.products.omniORB' : {tag: '4.2.3', base: 'no', section : 'version_4_2_3_win_dbg' }
- 'APPLICATION.products.psutil' : {tag: '5.7.2', base: 'no', section : 'version_5_7_2_win_dbg' }
+ 'APPLICATION.products.psutil' : {tag: '5.9.8', base: 'no', section : 'version_5_9_8_win_dbg' }
'APPLICATION.products.ParaView' : {tag: '5.11.0', base: 'no', section : 'version_5_11_0_win_dbg' }
'APPLICATION.products.zlib' : {tag: '1.2.5', base: 'no', section : 'version_1_2_5_win_dbg' }
'APPLICATION.products.gmsh' : {tag: '4.10.3', base: 'no', section : 'version_4_10_3_win_dbg' }
archive_info : {archive_name : "Cython-0.29.37.tar.gz"}
}
+version_0_29_37_win_dbg :
+{
+ name : "Cython"
+ build_source : "script"
+ compil_script : 'cython.bat'
+ get_source : "archive"
+ archive_info:
+ {
+ archive_name : "Cython-0.29.37.tar.gz"
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ 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
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
version_0_29_12_win_dbg :
{
name : "Cython"
REM In debug mode, we need to rename all .pyd to _d.pyd... don't ask why. Seems like a known bug in OmniORB.
if %SAT_DEBUG% == 1 (
- cd %PYTHON_ROOT_DIR%\lib\site-packages\Cython-0.29.12-py3.6-win-amd64.egg
+ cd %PYTHON_ROOT_DIR%\lib\site-packages\Cython-0.29.37-py3.9-win-amd64.egg
powershell -Command "Get-ChildItem -File -Recurse *.pyd| ForEach-Object {if ((!$_.Name.EndsWith('_d.pyd'))) { $_ | Copy-Item -Destination {$_.Name -replace '.pyd','_d.pyd'}}}"
- cd %PYTHON_ROOT_DIR%lib\site-packages\Cython-0.29.12-py3.6-win-amd64.egg\Cython\Runtime
+ cd %PYTHON_ROOT_DIR%lib\site-packages\Cython-0.29.37-py3.9-win-amd64.egg\Cython\Runtime
powershell -Command "Get-ChildItem -File -Recurse *.pyd| ForEach-Object {if ((!$_.Name.EndsWith('_d.pyd'))) { $_ | Copy-Item -Destination {$_.Name -replace '.pyd','_d.pyd'}}}"
)
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo psutil %VERSION%
+echo ##########################################################################
+
+REM install in python directly
+SET INSTALL_CENTRALLY=1
+
+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%
+mkdir %BUILD_DIR%
+cd %SOURCE_DIR%
+xcopy * %BUILD_DIR%\ /E /I /Q
+cd %BUILD_DIR%
+mkdir %PRODUCT_INSTALL%\Lib\site-packages
+set PATH=%CWD%\bin;%PATH%
+set PYTHONPATH=%PYTHONPATH%;%PRODUCT_INSTALL%\Lib\site-packages
+
+echo.
+echo ***
+if %INSTALL_CENTRALLY% == 1 (
+ %PYTHONBIN% setup.py build %BUILD_OPT% install
+) else (
+ %PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
+)
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on psutil running %PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
+ exit 1
+)
+echo.
+echo Product %PRODUCT_NAME% version: %VERSION%> %PRODUCT_INSTALL%\README.txt
+echo Installation folder: %PYTHON_ROOT_DIR%>> %PRODUCT_INSTALL%\README.txt
+
+echo.
+echo ########## END
patches: ['SPNS-29988-numpy-1.22.patch']
}
+version_1_21_6_win_dbg:
+{
+ name : "numpy"
+ build_source : "script"
+ compil_script : $name + $VARS.scriptExtension
+ get_source : "archive"
+ archive_info:
+ {
+ archive_name : "numpy-1.21.6.tar.gz"
+ }
+ depend : [ 'Python', 'setuptools', 'Cython']
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
version_1_16_4_win_dbg:
{
name : "numpy"
}
}
+version_5_9_8_win_dbg:
+{
+ compil_script: "psutil-5.9.8.bat"
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
version_5_7_2_win_dbg:
{