__overwrite__ :
[
+ {
+ __condition__ : "APPLICATION.debug == 'yes'"
+ 'APPLICATION.rm_products' : ['matplotlib']
+ '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.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' }
+ }
]
env_script : $name + ".py"
}
depend : ['Python', 'setuptools']
+ opt_depend: ['psutil']
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
properties:
'boost',
'libxml2',
'freetype',
- 'matplotlib',
'cgns',
'Pygments',
'pthreads',
'zlib'
]
- patches : ['paraview.0003-ParaViewClient.patch',
+ opt_depend: ['matplotlib']
+ patches : ['paraview.0003-ParaViewClient.patch',
'paraview.0004-ParaView_hdf5.patch',
'paraview.0006-ParaView_find_libxml2.patch',
'paraview.0007-ParaView_find_freetype.patch',
'boost',
'libxml2',
'freetype',
- 'matplotlib',
'cgns',
'Pygments',
'pthreads',
'zlib'
]
+ opt_depend: ['matplotlib'] # in debug mode, do not build this product
patches : ['paraview.0003-ParaViewClient.patch',
'paraview.0004-ParaView_hdf5.patch',
'paraview.0005-ParaView_find_cgns.patch',
'boost',
'libxml2',
'freetype',
- 'matplotlib',
'cgns',
'Pygments',
'pthreads',
'zlib'
]
+ opt_depend: ['matplotlib'] # in debug mode, do not build this product
patches : ['paraview.0003-ParaViewClient.patch',
'paraview.0004-ParaView_hdf5.patch',
'paraview.0005-ParaView_find_cgns.patch',
'boost',
'libxml2',
'freetype',
- 'matplotlib',
'cgns',
'Pygments',
'pthreads',
'zlib'
]
+ opt_depend: ['matplotlib'] # in debug mode, do not build this product
patches : ['paraview.0003-ParaViewClient.patch',
'paraview.0004-ParaView_hdf5.patch',
'paraview.0005-ParaView_find_cgns.patch',
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo openVKL %VERSION%
+echo ##########################################################################
+
+IF NOT DEFINED SAT_DEBUG (
+ SET SAT_DEBUG=0
+)
+
+SET PRODUCT_BUILD_TYPE=Release
+REM Building openVKL in DEBUG mode is definitely not relevant.
+if %SAT_DEBUG% == 1 (
+ set PRODUCT_BUILD_TYPE=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%
+
+
+SET CMAKE_OPTIONS=
+SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_INSTALL_PREFIX:STRING=%PRODUCT_INSTALL:\=/%
+SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_BUILD_TYPE:STRING=%PRODUCT_BUILD_TYPE%
+SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
+SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DPYTHON_EXECUTABLE=%PYTHON_ROOT_DIR:\=/%/python.exe
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -Dembree_DIR:PATH=%EMBREE_ROOT_DIR:\=/%
+SET CMAKE_OPTIONS=%CMAKE_OPTIONS% -DCMAKE_GENERATOR="Visual Studio 15 2017 Win64"
+cd %BUILD_DIR%
+
+echo.
+echo --------------------------------------------------------------------------
+echo *** %CMAKE_ROOT%\bin\cmake %CMAKE_OPTIONS% %SOURCE_DIR%
+echo --------------------------------------------------------------------------
+
+%CMAKE_ROOT%\bin\cmake %CMAKE_OPTIONS% %SOURCE_DIR%
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on CMake
+ exit 1
+)
+
+echo.
+echo --------------------------------------------------------------------------
+echo *** msbuild %MAKE_OPTIONS% ALL_BUILD.vcxproj /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=x64
+echo --------------------------------------------------------------------------
+
+msbuild %MAKE_OPTIONS% ALL_BUILD.vcxproj /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=x64
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on msbuild ALL_BUILD.vcxproj
+ exit 2
+)
+
+echo.
+echo --------------------------------------------------------------------------
+echo *** msbuild %MAKE_OPTIONS% INSTALL.vcxproj /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=x64
+echo --------------------------------------------------------------------------
+
+msbuild %MAKE_OPTIONS% INSTALL.vcxproj /p:Configuration=%PRODUCT_BUILD_TYPE% /p:Platform=x64
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on msbuild INSTALL.vcxproj
+ exit 3
+)
+
+taskkill /F /IM "mspdbsrv.exe"
+
+echo.
+echo ########## END
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo psutil %VERSION%
+echo ##########################################################################
+
+IF NOT DEFINED SAT_DEBUG (
+ SET SAT_DEBUG=0
+)
+
+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 ***
+%PYTHONBIN% setup.py build --debug install --prefix=%PRODUCT_INSTALL%
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on psutil running %PYTHONBIN% setup.py build --debug 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
{
cmake_options : ' -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DEMBREE_ISPC_SUPPORT=ON -DEMBREE_TUTORIALS=OFF -DEMBREE_TASKING_SYSTEM=TBB -DTBB_ROOT=%TBB_DIR:\=/% '
depend : ['ispc','tbb']
+ properties :
+ {
+ incremental : "yes"
+ single_install_dir: "yes"
+ }
}
-
}
patches : []
}
+
+version_8_0_1_clang_win_dbg :
+{
+ build_source : "script"
+ compil_script: "llvm-8.0.1.bat"
+ depend : [ 'Python' ]
+ archive_info:
+ {
+ archive_name : "llvm-8.0.1-clang.tar.gz"
+ }
+ properties:
+ {
+ incremental : "yes"
+ compile_time : "yes"
+ }
+ patches : []
+}
}
patches : []
}
+
+version_4_2_3_win_dbg:
+{
+ patches: ['omniORB-4.2.3-windows-debug.patch']
+}
incremental : "yes"
}
}
+
+default_win:
+{
+ build_source : "cmake"
+ cmake_options : "-DBUILD_TESTING=OFF -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_EXAMPLES=OFF -Dembree_DIR:PATH=%EMBREE_ROOT_DIR:\=/%"
+ properties :
+ {
+ incremental : "yes"
+ single_install_dir : "yes"
+ }
+}
compil_script : 'pip_install_whl' + $VARS.scriptExtension
archive_info : {archive_name : "psutil-" + $APPLICATION.products.psutil + "_windows.tar.gz"}
}
+
+
+version_5_7_2_win_dbg:
+{
+ compil_script: "psutil-5.7.2.bat"
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
incremental : "yes"
}
}
+
+default_win :
+{
+ properties :
+ {
+ incremental : "yes"
+ single_install_dir : "yes"
+ }
+}
single_install_dir : "yes"
}
}
+
+version_2019_U8_win_dbg :
+{
+ archive_info : {archive_name : "tbb-2019_U8.tar.gz"}
+ patches : ['tbb-2019_U8_windows10.patch', 'tbb-2019_U8_windows10_debug.patch']
+ depend : ['Python']
+ opt_depend : ['ispc']
+ build_depend : ['swig']
+ properties :
+ {
+ incremental : "yes"
+ single_install_dir : "yes"
+ }
+}