Skip to content
Snippets Groups Projects
Commit b0eef34e authored by Guilherme Amadio's avatar Guilherme Amadio Committed by Danilo Piparo
Browse files

Enable VDT by default and use builtin if not found

parent a3814935
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,7 @@ ROOT_BUILD_OPTION(tmva-cpu ON "Build TMVA with CPU support for deep learning. Re
ROOT_BUILD_OPTION(tmva-gpu ON "Build TMVA with GPU support for deep learning. Requries CUDA")
ROOT_BUILD_OPTION(unuran OFF "UNURAN - package for generating non-uniform random numbers")
ROOT_BUILD_OPTION(vc OFF "Vc adds a few new types for portable and intuitive SIMD programming")
ROOT_BUILD_OPTION(vdt OFF "VDT adds a set of fast and vectorisable mathematical functions")
ROOT_BUILD_OPTION(vdt ON "VDT adds a set of fast and vectorisable mathematical functions")
ROOT_BUILD_OPTION(veccore OFF "VecCore SIMD abstraction library")
ROOT_BUILD_OPTION(vecgeom OFF "VecGeom is a vectorized geometry library enhancing the performance of geometry navigation.")
ROOT_BUILD_OPTION(winrtdebug OFF "Link against the Windows debug runtime library")
......
......@@ -1442,9 +1442,8 @@ if(vdt OR builtin_vdt)
message(FATAL_ERROR "VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH")
else()
message(STATUS "VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH")
message(STATUS " Alternatively, you can also enable the option 'builtin_vdt' to build the VDT libraries internally")
message(STATUS " For the time being switching OFF 'vdt' option")
set(vdt OFF CACHE BOOL "Disabled because external vdt not found (${vdt_description})" FORCE)
message(STATUS " Switching ON 'builtin_vdt' option")
set(builtin_vdt ON CACHE BOOL "Enabled because external vdt not found (${vdt_description})" FORCE)
endif()
endif()
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment