Salome HOME
llvm 8.0.1 fedora 34 compliance
[tools/sat_salome.git] / products / root.pyconf
index a28efad0fe62f03dfb4c9f2d30433d0bbb015fc4..6b4aa8cafdb87b700b71d07240598f907c4ed2cb 100644 (file)
@@ -2,13 +2,19 @@ default :
 {
     name : "root"
     build_source : "cmake"
-    cmake_options : ""
-    get_source : "archive"
+    cmake_options : " -Dgminimal:BOOL=ON -Dmathmore:BOOL=ON -Ddataframe:BOOL=ON -Dmlp:BOOL=ON -Dfftw3:BOOL=ON -Dminuit2:BOOL=ON -Dxml:BOOL=ON -Dasimage:BOOL=ON -Dpyroot:BOOL=ON -Dsoversion:BOOL=ON -Ddataframe:BOOL=ON -DPYTHON_EXECUTABLE:STRING=${PYTHONBIN} -DPYTHON_INCLUDE_DIR:STRING=${PYTHON_INCLUDE} "
+    get_source : "git"
+    git_info:
+    {
+        repo : "https://github.com/root-project/root.git"
+        repo_dev : $repo
+    }
     environ :
     {
        env_script : $name + ".py"
     }
-    depend : ['cmake', 'Python']
+    depend : ['Python', 'boost', 'freetype', 'freeimage']
+    build_depend : ['cmake', 'libxml2', 'doxygen']
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
     install_dir : 'base'
@@ -17,12 +23,75 @@ default :
       incremental : "yes"
     }
 }
+
+default_win:
+{
+    build_source : "script"
+    compil_script :  "root.bat"
+    depend : ['Python', 'Cython', 'numpy']
+    patches : []
+}
+
+version_6_24_00:
+{
+    get_source : "archive"
+    patches : []
+}
+
+version_6_24_00_win:
+{
+    build_source : "script"
+    compil_script :  "root-6.24.bat"
+    depend : ['Python', 'Cython', 'numpy']
+    patches : []
+}
+
+version_6_22_06:
+{
+    get_source : "archive"
+    patches : ['root-6.22.06.patch']
+}
+
+version_6_22_06_win:
+{
+    build_source : "script"
+    compil_script :  "root-6.22.bat"
+    archive_info : {archive_name : "root_v6.22.06.win32.vc16.tar.gz"}
+    patches : []
+}
+
+version_6_22_02:
+{
+    get_source : "archive"
+    patches : ['root-6.22.02.patch']
+}
+
+version_6_22_02_win:
+{
+    build_source : "script"
+    compil_script :  "root-6.22.bat"
+    archive_info : {archive_name : "root_v6.22.02.win32.vc16.tar.gz"}
+    depend : ['Python', 'boost', 'freetype', 'freeimage']
+    patches : []
+}
+
+# these two patches cannot be merged - compilation issue on UB20 otherwise
+version_6_22_02_FD34:
+{
+    get_source : "archive"
+    patches : ['root-6.22.02.patch', 'root-6.22.02-gcc-11.0.patch']
+}
+
 version_6_16_00:
-{}
+{
+    get_source : "archive"
+}
 
 version_6_16_00_win:
 {
+
     archive_info : {archive_name : "root_v6.16.00-windows.tar.gz"}
     build_source : "script"
-    compil_script :  "root.bat"
-}
\ No newline at end of file
+    compil_script :  "root-6.16.bat"
+}
+