Date: Tuesday, February 19, 2019 @ 12:50:35 Author: kgizdov Revision: 434533
archrelease: copy trunk to community-x86_64 Added: root/repos/community-x86_64/ root/repos/community-x86_64/PKGBUILD (from rev 434532, root/trunk/PKGBUILD) root/repos/community-x86_64/fix_compile_time_install_clad.patch (from rev 434532, root/trunk/fix_compile_time_install_clad.patch) root/repos/community-x86_64/root.sh (from rev 434532, root/trunk/root.sh) root/repos/community-x86_64/root.xml (from rev 434532, root/trunk/root.xml) root/repos/community-x86_64/rootd (from rev 434532, root/trunk/rootd) root/repos/community-x86_64/settings-cuda.cmake (from rev 434532, root/trunk/settings-cuda.cmake) root/repos/community-x86_64/settings.cmake (from rev 434532, root/trunk/settings.cmake) -------------------------------------+ PKGBUILD | 209 ++++++++++++++++++++++++++++++++++ fix_compile_time_install_clad.patch | 154 +++++++++++++++++++++++++ root.sh | 9 + root.xml | 14 ++ rootd | 37 ++++++ settings-cuda.cmake | 115 ++++++++++++++++++ settings.cmake | 114 ++++++++++++++++++ 7 files changed, 652 insertions(+) Copied: root/repos/community-x86_64/PKGBUILD (from rev 434532, root/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-02-19 12:50:35 UTC (rev 434533) @@ -0,0 +1,209 @@ +# Maintainer: Konstantin Gizdov < arch at kge dot pw > +# Contributor: Frank Siegert < frank.siegert at googlemail dot com > +# Contributor: Scott Lawrence < bytbox at gmail dot com > +# Contributor: Thomas Dziedzic < gostrc at gmail dot com > +# Contributor: Sebastian Voecking < voeck at web dot de > + +pkgbase=root +pkgname=('root' 'root-cuda') +pkgver=6.16.00 +pkgrel=1 +pkgdesc='C++ data analysis framework and interpreter from CERN.' +arch=('x86_64') +url='http://root.cern.ch' +license=('LGPL2.1') +makedepends=('ccache' + 'cern-vdt' + 'cfitsio' + 'cmake' + 'cuda' + 'fcgi' + 'fftw' + 'ftgl' + 'blas' + 'gcc-fortran' + 'gcc7' + 'giflib' + 'git' + 'gl2ps' + 'glew' + 'go-pie' + 'gsl' + 'hicolor-icon-theme' + 'intel-tbb' + 'libafterimage' + 'libmariadbclient' + 'librsvg' + 'libxpm' + 'ocaml' + 'ocaml-ctypes' + 'openssl' + 'postgresql-libs' + 'pythia8>=8.2.40-1' + 'python' + 'python-numpy' + 'sqlite' + 'tex-gyre-fonts' + 'unuran' + 'vc' + 'xmlrpc-c' + 'xrootd>=4.6.0-2' + 'xxhash>=0.6.5-1' + 'z3') +depends=('blas' + 'desktop-file-utils' + 'fcgi' + 'fftw' + 'ftgl' + 'giflib' + 'gl2ps' + 'glew' + 'gsl' + 'hicolor-icon-theme' + 'intel-tbb' + 'libafterimage' + 'librsvg' + 'libxpm' + 'tex-gyre-fonts' + 'xxhash>=0.6.5-1') +optdepends=('cfitsio: Read images and data from FITS files' + 'cern-vdt: Add a set of fast and vectorisable mathematical functions' + 'libmariadbclient: MySQL support' + 'openssl: OpenSSL support' + 'postgresql-libs: PostgreSQL support' + 'pythia8>=8.2.40-1: Pythia8 EG support' + 'sqlite: SQLite support' + 'tcsh: Legacy CSH support' + 'unuran: Support non-uniform random numbers' + 'vc: Add types for portable and intuitive SIMD programming' + 'libxml2: XML parser interface' + 'xrootd: Support remote file server and client') +source=("https://root.cern.ch/download/root_v${pkgver}.source.tar.gz" + 'root.sh' + 'root.xml' + 'rootd' + 'settings.cmake' + 'settings-cuda.cmake' + 'fix_compile_time_install_clad.patch') +sha256sums=('2a45055c6091adaa72b977c512f84da8ef92723c30837c7e2643eecc9c5ce4d8' + '9d1f8e7ad923cb5450386edbbce085d258653c0160419cdd6ff154542cc32bd7' + '50c08191a5b281a39aa05ace4feb8d5405707b4c54a5dcba061f954649c38cb0' + '3c45b03761d5254142710b7004af0077f18efece7c95511910140d0542c8de8a' + '0110fd393a6de68c9d65abad7ec626b298e0bb4431210e6cd75285078052a39a' + '114c6ae5ac03ebed30f93ccf9431475eb797086e1a9d97d45f84e59c7212b09d' + 'de32dcc6c9d8527cb08360a2703c1ca1e586a5b7cc12ea12fd07125795ea5104') +prepare() { + # cd "${srcdir}/${pkgbase}-${pkgver}" + + 2to3 -w "${srcdir}/${pkgbase}-${pkgver}"/etc/dictpch/makepch.py 2>&1 > /dev/null + + patch -d "${srcdir}/${pkgbase}-${pkgver}" -Np1 -i "${srcdir}/fix_compile_time_install_clad.patch" + + cp -r "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}-cuda" +} + +build() { + ## ROOT + mkdir -p "${srcdir}/build" + cd "${srcdir}/build" + + CFLAGS="${CFLAGS} -pthread" \ + CXXFLAGS="${CXXFLAGS} -pthread" \ + LDFLAGS="${LDFLAGS} -pthread -Wl,--no-undefined" \ + cmake -C "${srcdir}/settings.cmake" -DTARGET_ARCHITECTURE:STRING=generic -DPYTHON_EXECUTABLE:PATH=/usr/bin/python \ + "${srcdir}/${pkgbase}-${pkgver}" + + cd "${srcdir}/build" + make + + ## ROOT with CUDA + mkdir -p "${srcdir}/build-cuda" + cd "${srcdir}/build-cuda" + + CC=gcc-7 \ + CXX=g++-7 \ + CFLAGS="${CFLAGS} -pthread" \ + CXXFLAGS="${CXXFLAGS} -pthread" \ + LDFLAGS="${LDFLAGS} -pthread -Wl,--no-undefined" \ + cmake -C "${srcdir}/settings-cuda.cmake" -DTARGET_ARCHITECTURE:STRING=generic -DPYTHON_EXECUTABLE:PATH=/usr/bin/python \ + "${srcdir}/${pkgbase}-${pkgver}-cuda" + + cd "${srcdir}/build-cuda" + make +} + +package_root() { + provides=('root-extra') + conflicts=('root-extra') + replaces=('root-extra') + optdepends+=('gcc-fortran: Enable the Fortran components of ROOT') + cd "${srcdir}/build" + + make DESTDIR="${pkgdir}" install + + install -d "${pkgdir}/usr/share/root/cli" + sed -e '/^\#!/d' -i "${pkgdir}/usr/lib/root"/cmdLineUtils.py + mv "${pkgdir}/usr/lib/root"/cmdLineUtils.py* "${pkgdir}/usr/share/root/cli/" + rm "${pkgdir}/usr/lib/root/__pycache__"/cmdLineUtils.* + python -m compileall "${pkgdir}/usr/share/root/cli/" + + install -D "${srcdir}/root.sh" \ + "${pkgdir}/etc/profile.d/root.sh" + install -D "${srcdir}/rootd" \ + "${pkgdir}/etc/rc.d/rootd" + install -D -m644 "${srcdir}/root.xml" \ + "${pkgdir}/usr/share/mime/packages/root.xml" + + install -D -m644 "${srcdir}/${pkgbase}-${pkgver}/build/package/debian/root-system-bin.desktop.in" \ + "${pkgdir}/usr/share/applications/root-system-bin.desktop" + + # replace @prefix@ with /usr for the desktop + sed -e 's_@prefix@_/usr_' -i "${pkgdir}/usr/share/applications/root-system-bin.desktop" + + install -D -m644 "${srcdir}/${pkgbase}-${pkgver}/build/package/debian/root-system-bin.png" \ + "${pkgdir}/usr/share/icons/hicolor/48x48/apps/root-system-bin.png" + + # use a file that pacman can track instead of adding directly to ld.so.conf + install -d "${pkgdir}/etc/ld.so.conf.d" + echo '/usr/lib/root' > "${pkgdir}/etc/ld.so.conf.d/root.conf" + + rm -rf "${pkgdir}/etc/root/daemons" +} + +package_root-cuda() { + pkgdesc='C++ data analysis framework and interpreter from CERN with GPU (CUDA) features enabled.' + provides=('root' 'root-extra') + conflicts=('root' 'root-extra') + depends+=('cuda') + cd "${srcdir}/build-cuda" + + make DESTDIR="${pkgdir}" install + + install -d "${pkgdir}/usr/share/root/cli" + sed -e '/^\#!/d' -i "${pkgdir}/usr/lib/root"/cmdLineUtils.py + mv "${pkgdir}/usr/lib/root"/cmdLineUtils.py* "${pkgdir}/usr/share/root/cli/" + rm "${pkgdir}/usr/lib/root/__pycache__"/cmdLineUtils.* + python -m compileall "${pkgdir}/usr/share/root/cli/" + + install -D "${srcdir}/root.sh" \ + "${pkgdir}/etc/profile.d/root.sh" + install -D "${srcdir}/rootd" \ + "${pkgdir}/etc/rc.d/rootd" + install -D -m644 "${srcdir}/root.xml" \ + "${pkgdir}/usr/share/mime/packages/root.xml" + + install -D -m644 "${srcdir}/${pkgbase}-${pkgver}-cuda/build/package/debian/root-system-bin.desktop.in" \ + "${pkgdir}/usr/share/applications/root-system-bin.desktop" + + # replace @prefix@ with /usr for the desktop + sed -e 's_@prefix@_/usr_' -i "${pkgdir}/usr/share/applications/root-system-bin.desktop" + + install -D -m644 "${srcdir}/${pkgbase}-${pkgver}-cuda/build/package/debian/root-system-bin.png" \ + "${pkgdir}/usr/share/icons/hicolor/48x48/apps/root-system-bin.png" + + # use a file that pacman can track instead of adding directly to ld.so.conf + install -d "${pkgdir}/etc/ld.so.conf.d" + echo '/usr/lib/root' > "${pkgdir}/etc/ld.so.conf.d/root.conf" + + rm -rf "${pkgdir}/etc/root/daemons" +} Copied: root/repos/community-x86_64/fix_compile_time_install_clad.patch (from rev 434532, root/trunk/fix_compile_time_install_clad.patch) =================================================================== --- community-x86_64/fix_compile_time_install_clad.patch (rev 0) +++ community-x86_64/fix_compile_time_install_clad.patch 2019-02-19 12:50:35 UTC (rev 434533) @@ -0,0 +1,154 @@ +From b669d9e6428dfc231ced16c56669f35dfda0754e Mon Sep 17 00:00:00 2001 +From: Oksana Shadura <oksana.shad...@cern.ch> +Date: Tue, 29 Jan 2019 20:42:39 +0100 +Subject: [PATCH] [ROOT-9924] Fixing compile time installation of clad in + CMAKE_INSTALL_PATH + +[ROOT-9924] Installing headers for clad +--- + CMakeLists.txt | 8 +++- + interpreter/CMakeLists.txt | 13 ------ + .../cling/tools/plugins/clad/CMakeLists.txt | 41 +++++++++++-------- + 3 files changed, 30 insertions(+), 32 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d7fa80406a6..74d24d4419c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -139,7 +139,7 @@ if (build_timing) + # FIXME: This currently will override the use of ccache if -Dbuild_timing=On -Dccache=On is passed. + set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CMAKE_COMMAND} -E time") + set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK "${CMAKE_COMMAND} -E time") +- #set_property(GLOBAL PROPERTY RULE_LAUNCH_CUSTOM "${CMAKE_COMMAND} -E time") ++ #set_property(GLOBAL PROPERTY RULE_LAUNCH_CUSTOM "${CMAKE_COMMAND} -E time") + endif() + + #---Enable CTest package ----------------------------------------------------------------------- +@@ -472,6 +472,12 @@ set(root_kernel_file kernel.json) + configure_file(etc/${root_kernel_dir}/${root_kernel_file}.in etc/${root_kernel_dir}/${root_kernel_file}) + install(FILES ${CMAKE_BINARY_DIR}/etc/${root_kernel_dir}/${root_kernel_file} DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/${root_kernel_dir}) + ++#---install clad header files------------------------------------------------------------------- ++if(clad) ++ install(DIRECTORY ${CMAKE_BINARY_DIR}/etc/cling/plugins/ ++ DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cling/plugins) ++endif() ++ + #---Configure Testing using CTest---------------------------------------------------------------- + configure_file(${CMAKE_SOURCE_DIR}/cmake/modules/CTestCustom.cmake ${CMAKE_BINARY_DIR} COPYONLY) + if(testing) +diff --git a/interpreter/CMakeLists.txt b/interpreter/CMakeLists.txt +index ffb89181141..7345246286e 100644 +--- a/interpreter/CMakeLists.txt ++++ b/interpreter/CMakeLists.txt +@@ -29,19 +29,6 @@ set(LLVM_TOOL_LLVM_AR_BUILD OFF CACHE BOOL "") + set(CLANG_TOOL_CLANG_OFFLOAD_BUNDLER_BUILD OFF CACHE BOOL "") + set(LLVM_FORCE_USE_OLD_TOOLCHAIN ON CACHE BOOL "") + +-# FIXME: We cannot use etcdir or prefix from RootConfiguration.cmake because it +-# is included very late. +-if(gnuinstall) +- set(prefix ${CMAKE_INSTALL_PREFIX}) +-else() +- set(prefix ${ROOTSYS}) +-endif() +-if(IS_ABSOLUTE ${CMAKE_INSTALL_SYSCONFDIR}) +- set(etcdir ${CMAKE_INSTALL_SYSCONFDIR}) +-else() +- set(etcdir ${prefix}/${CMAKE_INSTALL_SYSCONFDIR}) +-endif() +-set(CLING_PLUGIN_INSTALL_PREFIX "${etcdir}/cling/plugins/" CACHE STRING "" FORCE) + set(LLVM_DIR "${CMAKE_BINARY_DIR}/interpreter/llvm/src") + if (clad) + set(CLING_BUILD_PLUGINS ON) +diff --git a/interpreter/cling/tools/plugins/clad/CMakeLists.txt b/interpreter/cling/tools/plugins/clad/CMakeLists.txt +index b6f53fb37b9..e2db703248c 100644 +--- a/interpreter/cling/tools/plugins/clad/CMakeLists.txt ++++ b/interpreter/cling/tools/plugins/clad/CMakeLists.txt +@@ -6,12 +6,19 @@ + # LICENSE.TXT for details. + #------------------------------------------------------------------------------- + +-set(_clad_byproduct_binary_dir +- ${CMAKE_CURRENT_BINARY_DIR}/clad-prefix/src/clad-build/) +-set(CLADDIFFERENTIATOR_LIB +- ${_clad_byproduct_binary_dir}/lib/Differentiator/${CMAKE_STATIC_LIBRARY_PREFIX}cladDifferentiator${CMAKE_STATIC_LIBRARY_SUFFIX} +- ${_clad_byproduct_binary_dir}/tools/${CMAKE_STATIC_LIBRARY_PREFIX}cladPlugin${CMAKE_STATIC_LIBRARY_SUFFIX} ++set(clad_install_dir ${CMAKE_BINARY_DIR}/etc/cling/) ++# Specify include dirs for clad ++set(CLAD_INCLUDE_DIRS ${clad_install_dir}) ++# Clad Libraries ++set(_CLAD_LIBRARY_PATH ${clad_install_dir}/plugins/lib) ++ ++# build byproducts only needed by Ninja ++if("${CMAKE_GENERATOR}" STREQUAL "Ninja") ++ set(CLAD_BYPRODUCTS ++ ${_CLAD_LIBRARY_PATH}/${CMAKE_STATIC_LIBRARY_PREFIX}cladPlugin${CMAKE_STATIC_LIBRARY_SUFFIX} ++ ${_CLAD_LIBRARY_PATH}/${CMAKE_STATIC_LIBRARY_PREFIX}cladDifferentiator${CMAKE_STATIC_LIBRARY_SUFFIX} + ) ++endif() + + if(MSVC) + if (winrtdebug) +@@ -25,14 +32,16 @@ if(MSVC) + GIT_TAG v0.4 + UPDATE_COMMAND "" + CMAKE_ARGS -G ${CMAKE_GENERATOR} -DCLAD_BUILD_STATIC_ONLY=ON +- -DCMAKE_INSTALL_PREFIX=${CLING_PLUGIN_INSTALL_PREFIX} ++ -DCMAKE_INSTALL_PREFIX=${clad_install_dir}/plugins + -DCLAD_PATH_TO_LLVM_BUILD=${LLVM_BINARY_DIR} + -DCLANG_INCLUDE_DIRS=${CLANG_INCLUDE_DIRS} + BUILD_COMMAND ${CMAKE_COMMAND} --build . --config ${_clad_build_type} ++ INSTALL_COMMAND ${CMAKE_COMMAND} --build . --config ${_clad_build_type} --target install + # Wrap download, configure and build steps in a script to log output + LOG_DOWNLOAD ON + LOG_CONFIGURE ON + LOG_BUILD ON ++ LOG_INSTALL ON + # We need the target clangBasic to be built before building clad. However, we + # support building prebuilt clang and adding clangBasic breaks this case. + # Delegate the dependency resolution to the clingInterpreter target (which +@@ -58,16 +67,19 @@ else() + -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} + -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} + -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} +- -DCMAKE_INSTALL_PREFIX=${CLING_PLUGIN_INSTALL_PREFIX} ++ -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} + -DCLAD_PATH_TO_LLVM_BUILD=${LLVM_BINARY_DIR} + -DCLANG_INCLUDE_DIRS=${CLANG_INCLUDE_DIRS} + -DCLAD_BUILD_STATIC_ONLY=ON + ${_clad_extra_cmake_args} +- BUILD_BYPRODUCTS ${CLADDIFFERENTIATOR_LIB} ++ INSTALL_COMMAND env DESTDIR=${CMAKE_BINARY_DIR}/plugins ${CMAKE_COMMAND} --build . --target install ++ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_BINARY_DIR}/plugins/${CMAKE_INSTALL_PREFIX}/ ${clad_install_dir}/plugins ++ BUILD_BYPRODUCTS ${CLAD_BYPRODUCTS} + # Wrap download, configure and build steps in a script to log output + LOG_DOWNLOAD ON + LOG_CONFIGURE ON + LOG_BUILD ON ++ LOG_INSTALL ON + # We need the target clangBasic to be built before building clad. However, we + # support building prebuilt clang and adding clangBasic breaks this case. + # Delegate the dependency resolution to the clingInterpreter target (which +@@ -76,18 +88,11 @@ else() + ) + endif() + +-# Specify include dirs for clad +-ExternalProject_Get_Property(clad source_dir) +-set(CLAD_INCLUDE_DIRS ${source_dir}/clad/include/) +- +-# Libraries +-ExternalProject_Get_Property(clad binary_dir) +-set(_CLAD_LIBRARY_PATH ${binary_dir}) +- + # Register cladPlugin, cladDifferentiator + foreach (lib cladPlugin cladDifferentiator) + add_library(${lib} IMPORTED STATIC GLOBAL) + add_dependencies(${lib} clad) + endforeach() +-set_property(TARGET cladPlugin PROPERTY IMPORTED_LOCATION ${_CLAD_LIBRARY_PATH}/tools/${_clad_build_type}/${CMAKE_STATIC_LIBRARY_PREFIX}cladPlugin${CMAKE_STATIC_LIBRARY_SUFFIX}) +-set_property(TARGET cladDifferentiator PROPERTY IMPORTED_LOCATION ${_CLAD_LIBRARY_PATH}/lib/Differentiator/${_clad_build_type}/${CMAKE_STATIC_LIBRARY_PREFIX}cladDifferentiator${CMAKE_STATIC_LIBRARY_SUFFIX}) ++ ++set_property(TARGET cladPlugin PROPERTY IMPORTED_LOCATION ${_CLAD_LIBRARY_PATH}/${CMAKE_STATIC_LIBRARY_PREFIX}cladPlugin${CMAKE_STATIC_LIBRARY_SUFFIX}) ++set_property(TARGET cladDifferentiator PROPERTY IMPORTED_LOCATION ${_CLAD_LIBRARY_PATH}/${CMAKE_STATIC_LIBRARY_PREFIX}cladDifferentiator${CMAKE_STATIC_LIBRARY_SUFFIX}) Copied: root/repos/community-x86_64/root.sh (from rev 434532, root/trunk/root.sh) =================================================================== --- community-x86_64/root.sh (rev 0) +++ community-x86_64/root.sh 2019-02-19 12:50:35 UTC (rev 434533) @@ -0,0 +1,9 @@ +if [ $PYTHONPATH ]; then + if [[ ":$PYTHONPATH:" == *":/usr/lib/root:"* ]]; then + return 0; + else + export PYTHONPATH=$PYTHONPATH:/usr/lib/root; + fi +else + export PYTHONPATH=/usr/lib/root; +fi Copied: root/repos/community-x86_64/root.xml (from rev 434532, root/trunk/root.xml) =================================================================== --- community-x86_64/root.xml (rev 0) +++ community-x86_64/root.xml 2019-02-19 12:50:35 UTC (rev 434533) @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-root"> + <comment>ROOT file</comment> + <comment xml:lang="de">ROOT-Datei</comment> + <comment xml:lang="en">ROOT-File</comment> + <comment xml:lang="fr">ROOT-Fichier</comment> + <comment xml:lang="it">ROOT-File</comment> + <glob pattern="*.root"/> + <magic priority="80"> + <match value="root" type="string" offset="0:64"/> + </magic> + </mime-type> +</mime-info> Copied: root/repos/community-x86_64/rootd (from rev 434532, root/trunk/rootd) =================================================================== --- community-x86_64/rootd (rev 0) +++ community-x86_64/rootd 2019-02-19 12:50:35 UTC (rev 434533) @@ -0,0 +1,37 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/sbin/rootd` +case "$1" in + start) + stat_busy "Starting ROOT file server daemon" + [ -z "$PID" ] && /usr/bin/rootd >>/var/log/root.log 2>&1 + if [ $? -gt 0 ]; then + stat_fail + else + PID=`pidof -o %PPID /usr/sbin/rootd` + echo $PID >/var/run/rootd.pid + add_daemon rootd + stat_done + fi + ;; + stop) + stat_busy "Stopping ROOT file server daemon" + [ ! -z "$PID" ] && kill $PID &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon rootd + stat_done + fi + ;; + restart) + $0 stop + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 Copied: root/repos/community-x86_64/settings-cuda.cmake (from rev 434532, root/trunk/settings-cuda.cmake) =================================================================== --- community-x86_64/settings-cuda.cmake (rev 0) +++ community-x86_64/settings-cuda.cmake 2019-02-19 12:50:35 UTC (rev 434533) @@ -0,0 +1,115 @@ +set (CMAKE_BUILD_TYPE Release CACHE STRING "" FORCE) +set (BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) # this option is currently incompatible +set (CMAKE_INSTALL_PREFIX /usr CACHE PATH "" FORCE) +set (CMAKE_INSTALL_SYSCONFDIR /etc/root CACHE PATH "" FORCE) +set (CMAKE_INSTALL_DATAROOTDIR /usr/share CACHE PATH "" FORCE) +set (afdsmgrd OFF CACHE BOOL "" FORCE) # broken, bug in string_view include +set (alien OFF CACHE BOOL "" FORCE) +set (all OFF CACHE BOOL "" FORCE) +set (asimage ON CACHE BOOL "" FORCE) +set (astiff ON CACHE BOOL "" FORCE) +set (bonjour OFF CACHE BOOL "" FORCE) # depricated +set (builtin_afterimage OFF CACHE BOOL "" FORCE) +set (builtin_clang ON CACHE BOOL "" FORCE) +set (CLANG_ENABLE_STATIC_ANALYZER ON CACHE BOOL "" FORCE) +set (CLANG_ANALYZER_BUILD_Z3 ON CACHE BOOL "" FORCE) +set (builtin_cfitsio OFF CACHE BOOL "" FORCE) +set (builtin_davix OFF CACHE BOOL "" FORCE) +set (builtin_fftw3 OFF CACHE BOOL "" FORCE) +set (builtin_ftgl OFF CACHE BOOL "" FORCE) +set (builtin_freetype OFF CACHE BOOL "" FORCE) +set (builtin_gl2ps OFF CACHE BOOL "" FORCE) +set (builtin_glew OFF CACHE BOOL "" FORCE) +set (builtin_gsl OFF CACHE BOOL "" FORCE) +set (builtin_lzma OFF CACHE BOOL "" FORCE) +set (builtin_llvm ON CACHE BOOL "" FORCE) +set (builtin_openssl OFF CACHE BOOL "" FORCE) +set (builtin_pcre OFF CACHE BOOL "" FORCE) +set (builtin_tbb OFF CACHE BOOL "" FORCE) +set (builtin_unuran OFF CACHE BOOL "" FORCE) +set (builtin_vc OFF CACHE BOOL "" FORCE) +set (builtin_xxhash OFF CACHE BOOL "" FORCE) +set (builtin_xrootd OFF CACHE BOOL "" FORCE) +set (builtin_zlib OFF CACHE BOOL "" FORCE) +set (castor OFF CACHE BOOL "" FORCE) +set (ccache OFF CACHE BOOL "" FORCE) +set (clad ON CACHE BOOL "" FORCE) +set (cling ON CACHE BOOL "" FORCE) +set (cocoa OFF CACHE BOOL "" FORCE) # MacOS only +set (cuda ON CACHE BOOL "" FORCE) +set (cxx11 OFF CACHE BOOL "" FORCE) +set (cxx14 ON CACHE BOOL "" FORCE) +set (cxx17 OFF CACHE BOOL "" FORCE) +set (davix OFF CACHE BOOL "" FORCE) +set (dcache OFF CACHE BOOL "" FORCE) +set (exceptions ON CACHE BOOL "" FORCE) +set (explicitlink ON CACHE BOOL "" FORCE) +set (fail-on-missing ON CACHE BOOL "" FORCE) +set (fftw3 ON CACHE BOOL "" FORCE) +set (fitsio ON CACHE BOOL "" FORCE) +set (fortran OFF CACHE BOOL "" FORCE) # gcc7 doesn't provide fortran +set (gdml ON CACHE BOOL "" FORCE) +set (geocad OFF CACHE BOOL "" FORCE) +set (genvector ON CACHE BOOL "" FORCE) +set (gfal OFF CACHE BOOL "" FORCE) +set (gl2ps ON CACHE BOOL "" FORCE) +set (globus OFF CACHE BOOL "" FORCE) +set (gminimal OFF CACHE BOOL "" FORCE) +set (gnuinstall ON CACHE BOOL "" FORCE) +set (gsl_shared ON CACHE BOOL "" FORCE) +set (gviz OFF CACHE BOOL "" FORCE) # depricated +set (hdfs OFF CACHE BOOL "" FORCE) +set (http ON CACHE BOOL "" FORCE) +set (imt ON CACHE BOOL "" FORCE) +set (jemalloc OFF CACHE BOOL "" FORCE) +set (krb5 OFF CACHE BOOL "" FORCE) # depricated +set (ldap OFF CACHE BOOL "" FORCE) # depricated +set (mathmore ON CACHE BOOL "" FORCE) +set (memstat OFF CACHE BOOL "" FORCE) +set (minimal OFF CACHE BOOL "" FORCE) +set (minuit2 ON CACHE BOOL "" FORCE) +set (monalisa OFF CACHE BOOL "" FORCE) +set (mt ON CACHE BOOL "" FORCE) +set (mysql ON CACHE BOOL "" FORCE) +set (odbc OFF CACHE BOOL "" FORCE) # depricated +set (opengl ON CACHE BOOL "" FORCE) +set (OpenGL_GL_PREFERENCE GLVND CACHE STRING "" FORCE) # use new policy since 3.11 +set (oracle OFF CACHE BOOL "" FORCE) +set (pch ON CACHE BOOL "" FORCE) +set (pgsql ON CACHE BOOL "" FORCE) +set (pythia6 OFF CACHE BOOL "" FORCE) +set (pythia6_nolink OFF CACHE BOOL "" FORCE) +set (pythia8 ON CACHE BOOL "" FORCE) +# set (python3 ON CACHE BOOL "" FORCE) +set (python ON CACHE BOOL "" FORCE) +set (qt OFF CACHE BOOL "" FORCE) # depricated +set (qtgsi OFF CACHE BOOL "" FORCE) # depricated +set (rfio OFF CACHE BOOL "" FORCE) +set (roofit ON CACHE BOOL "" FORCE) +set (root7 ON CACHE BOOL "" FORCE) +set (roottest OFF CACHE BOOL "" FORCE) +set (rpath OFF CACHE BOOL "" FORCE) +set (runtime_cxxmodules OFF CACHE BOOL "" FORCE) # broken - circular dependency +set (r OFF CACHE BOOL "" FORCE) # requires r-rcpp +set (shadowpw ON CACHE BOOL "" FORCE) +set (shared ON CACHE BOOL "" FORCE) +set (soversion OFF CACHE BOOL "" FORCE) +set (sqlite ON CACHE BOOL "" FORCE) +set (ssl ON CACHE BOOL "" FORCE) +set (table OFF CACHE BOOL "" FORCE) # depricated +set (tbb ON CACHE BOOL "" FORCE) +set (tcmalloc OFF CACHE BOOL "" FORCE) +set (testing OFF CACHE BOOL "" FORCE) +set (thread ON CACHE BOOL "" FORCE) # cannot be disabled +set (tmva ON CACHE BOOL "" FORCE) +set (tmva-cpu OFF CACHE BOOL "" FORCE) +set (tmva-gpu ON CACHE BOOL "" FORCE) +set (tmva-pymva ON CACHE BOOL "" FORCE) +set (unuran ON CACHE BOOL "" FORCE) +set (vc ON CACHE BOOL "" FORCE) +set (vdt ON CACHE BOOL "" FORCE) +set (winrtdebug OFF CACHE BOOL "" FORCE) # windows only +set (x11 ON CACHE BOOL "" FORCE) +set (xft ON CACHE BOOL "" FORCE) +set (xml ON CACHE BOOL "" FORCE) +set (xrootd ON CACHE BOOL "" FORCE) Copied: root/repos/community-x86_64/settings.cmake (from rev 434532, root/trunk/settings.cmake) =================================================================== --- community-x86_64/settings.cmake (rev 0) +++ community-x86_64/settings.cmake 2019-02-19 12:50:35 UTC (rev 434533) @@ -0,0 +1,114 @@ +set (CMAKE_BUILD_TYPE Release CACHE STRING "" FORCE) +set (BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) # this option is currently incompatible +set (CMAKE_INSTALL_PREFIX /usr CACHE PATH "" FORCE) +set (CMAKE_INSTALL_SYSCONFDIR /etc/root CACHE PATH "" FORCE) +set (CMAKE_INSTALL_DATAROOTDIR /usr/share CACHE PATH "" FORCE) +set (afdsmgrd OFF CACHE BOOL "" FORCE) # broken, bug in string_view include +set (alien OFF CACHE BOOL "" FORCE) +set (all OFF CACHE BOOL "" FORCE) +set (asimage ON CACHE BOOL "" FORCE) +set (astiff ON CACHE BOOL "" FORCE) +set (bonjour OFF CACHE BOOL "" FORCE) # depricated +set (builtin_afterimage OFF CACHE BOOL "" FORCE) +set (builtin_clang ON CACHE BOOL "" FORCE) +set (CLANG_ENABLE_STATIC_ANALYZER ON CACHE BOOL "" FORCE) +set (CLANG_ANALYZER_BUILD_Z3 ON CACHE BOOL "" FORCE) +set (builtin_cfitsio OFF CACHE BOOL "" FORCE) +set (builtin_davix OFF CACHE BOOL "" FORCE) +set (builtin_fftw3 OFF CACHE BOOL "" FORCE) +set (builtin_ftgl OFF CACHE BOOL "" FORCE) +set (builtin_freetype OFF CACHE BOOL "" FORCE) +set (builtin_gl2ps OFF CACHE BOOL "" FORCE) +set (builtin_glew OFF CACHE BOOL "" FORCE) +set (builtin_gsl OFF CACHE BOOL "" FORCE) +set (builtin_lzma OFF CACHE BOOL "" FORCE) +set (builtin_llvm ON CACHE BOOL "" FORCE) +set (builtin_openssl OFF CACHE BOOL "" FORCE) +set (builtin_pcre OFF CACHE BOOL "" FORCE) +set (builtin_tbb OFF CACHE BOOL "" FORCE) +set (builtin_unuran OFF CACHE BOOL "" FORCE) +set (builtin_vc OFF CACHE BOOL "" FORCE) +set (builtin_xxhash OFF CACHE BOOL "" FORCE) +set (builtin_xrootd OFF CACHE BOOL "" FORCE) +set (builtin_zlib OFF CACHE BOOL "" FORCE) +set (castor OFF CACHE BOOL "" FORCE) +set (ccache OFF CACHE BOOL "" FORCE) +set (clad ON CACHE BOOL "" FORCE) +set (cling ON CACHE BOOL "" FORCE) +set (cocoa OFF CACHE BOOL "" FORCE) # MacOS only +set (cuda OFF CACHE BOOL "" FORCE) +set (cxx11 OFF CACHE BOOL "" FORCE) +set (cxx14 OFF CACHE BOOL "" FORCE) +set (cxx17 ON CACHE BOOL "" FORCE) +set (davix OFF CACHE BOOL "" FORCE) +set (dcache OFF CACHE BOOL "" FORCE) +set (exceptions ON CACHE BOOL "" FORCE) +set (explicitlink ON CACHE BOOL "" FORCE) +set (fail-on-missing ON CACHE BOOL "" FORCE) +set (fftw3 ON CACHE BOOL "" FORCE) +set (fitsio ON CACHE BOOL "" FORCE) +set (fortran ON CACHE BOOL "" FORCE) +set (gdml ON CACHE BOOL "" FORCE) +set (geocad OFF CACHE BOOL "" FORCE) +set (genvector ON CACHE BOOL "" FORCE) +set (gfal OFF CACHE BOOL "" FORCE) +set (gl2ps ON CACHE BOOL "" FORCE) +set (globus OFF CACHE BOOL "" FORCE) +set (gminimal OFF CACHE BOOL "" FORCE) +set (gnuinstall ON CACHE BOOL "" FORCE) +set (gsl_shared ON CACHE BOOL "" FORCE) +set (gviz OFF CACHE BOOL "" FORCE) # depricated +set (hdfs OFF CACHE BOOL "" FORCE) +set (http ON CACHE BOOL "" FORCE) +set (imt ON CACHE BOOL "" FORCE) +set (jemalloc OFF CACHE BOOL "" FORCE) +set (krb5 OFF CACHE BOOL "" FORCE) # depricated +set (ldap OFF CACHE BOOL "" FORCE) # depricated +set (mathmore ON CACHE BOOL "" FORCE) +set (memstat OFF CACHE BOOL "" FORCE) +set (minimal OFF CACHE BOOL "" FORCE) +set (minuit2 ON CACHE BOOL "" FORCE) +set (monalisa OFF CACHE BOOL "" FORCE) +set (mt ON CACHE BOOL "" FORCE) +set (mysql ON CACHE BOOL "" FORCE) +set (odbc OFF CACHE BOOL "" FORCE) # depricated +set (opengl ON CACHE BOOL "" FORCE) +set (OpenGL_GL_PREFERENCE GLVND CACHE STRING "" FORCE) # use new policy since 3.11 +set (oracle OFF CACHE BOOL "" FORCE) +set (pch ON CACHE BOOL "" FORCE) +set (pgsql ON CACHE BOOL "" FORCE) +set (pythia6 OFF CACHE BOOL "" FORCE) +set (pythia6_nolink OFF CACHE BOOL "" FORCE) +set (pythia8 ON CACHE BOOL "" FORCE) +# set (python3 ON CACHE BOOL "" FORCE) +set (python ON CACHE BOOL "" FORCE) +set (qt OFF CACHE BOOL "" FORCE) # depricated +set (qtgsi OFF CACHE BOOL "" FORCE) # depricated +set (rfio OFF CACHE BOOL "" FORCE) +set (roofit ON CACHE BOOL "" FORCE) +set (root7 ON CACHE BOOL "" FORCE) +set (roottest OFF CACHE BOOL "" FORCE) +set (rpath OFF CACHE BOOL "" FORCE) +set (runtime_cxxmodules OFF CACHE BOOL "" FORCE) # broken - circular dependency +set (r OFF CACHE BOOL "" FORCE) # requires r-rcpp +set (shadowpw ON CACHE BOOL "" FORCE) +set (shared ON CACHE BOOL "" FORCE) +set (soversion OFF CACHE BOOL "" FORCE) +set (sqlite ON CACHE BOOL "" FORCE) +set (ssl ON CACHE BOOL "" FORCE) +set (table OFF CACHE BOOL "" FORCE) # depricated +set (tbb ON CACHE BOOL "" FORCE) +set (tcmalloc OFF CACHE BOOL "" FORCE) +set (testing OFF CACHE BOOL "" FORCE) +set (thread ON CACHE BOOL "" FORCE) # cannot be disabled +set (tmva ON CACHE BOOL "" FORCE) +set (tmva-cpu ON CACHE BOOL "" FORCE) +set (tmva-pymva ON CACHE BOOL "" FORCE) +set (unuran ON CACHE BOOL "" FORCE) +set (vc ON CACHE BOOL "" FORCE) +set (vdt ON CACHE BOOL "" FORCE) +set (winrtdebug OFF CACHE BOOL "" FORCE) # windows only +set (x11 ON CACHE BOOL "" FORCE) +set (xft ON CACHE BOOL "" FORCE) +set (xml ON CACHE BOOL "" FORCE) +set (xrootd ON CACHE BOOL "" FORCE)