Skip to content
Snippets Groups Projects
Commit 4dbc3a4d authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Projects: disable Boost version warning

With the switch to LCG_106a, we need to disable the warning from
`FindBoost` about possibly incompatible versions. In our main branch,
this was done in atlasexternals!1155. But for the 24.0 branch we just do
it at the project level.

Relates to ATLINFR-5582.
parent 3456a96e
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# #
# This is the main CMakeLists.txt file for building the AnalysisBase # This is the main CMakeLists.txt file for building the AnalysisBase
# software release. # software release.
...@@ -11,6 +11,10 @@ string( STRIP ${_version} _version ) ...@@ -11,6 +11,10 @@ string( STRIP ${_version} _version )
project( AnalysisBase VERSION ${_version} LANGUAGES C CXX ) project( AnalysisBase VERSION ${_version} LANGUAGES C CXX )
unset( _version ) unset( _version )
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# This project is built on top of AnalysisBaseExternals: # This project is built on top of AnalysisBaseExternals:
find_package( AnalysisBaseExternals REQUIRED ) find_package( AnalysisBaseExternals REQUIRED )
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Set up the project. # Set up the project.
cmake_minimum_required( VERSION 3.6 ) cmake_minimum_required( VERSION 3.6 )
...@@ -16,6 +16,10 @@ set( ATLAS_FLAKE8 true # <- this is the shell builtin `true` ...@@ -16,6 +16,10 @@ set( ATLAS_FLAKE8 true # <- this is the shell builtin `true`
set( ATLAS_PYTHON_CHECKER "" set( ATLAS_PYTHON_CHECKER ""
CACHE STRING "Python checker command to run during Python module compilation" ) CACHE STRING "Python checker command to run during Python module compilation" )
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# Find the ATLAS CMake code: # Find the ATLAS CMake code:
find_package( AtlasCMake QUIET ) find_package( AtlasCMake QUIET )
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Set up the project. # Set up the project.
cmake_minimum_required( VERSION 3.6 ) cmake_minimum_required( VERSION 3.6 )
...@@ -18,6 +18,10 @@ set( ATLAS_FLAKE8 flake8_atlas --isolated --select ATL,F,E101,E7,E9,W6 ...@@ -18,6 +18,10 @@ set( ATLAS_FLAKE8 flake8_atlas --isolated --select ATL,F,E101,E7,E9,W6
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8} set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" ) CACHE STRING "Python checker command to run during Python module compilation" )
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# Find the ATLAS CMake code: # Find the ATLAS CMake code:
find_package( AtlasCMake QUIET ) find_package( AtlasCMake QUIET )
......
...@@ -18,6 +18,10 @@ set( ATLAS_FLAKE8 flake8_atlas --isolated --select ATL,F,E101,E7,E9,W6 ...@@ -18,6 +18,10 @@ set( ATLAS_FLAKE8 flake8_atlas --isolated --select ATL,F,E101,E7,E9,W6
set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8} set( ATLAS_PYTHON_CHECKER ${ATLAS_FLAKE8}
CACHE STRING "Python checker command to run during Python module compilation" ) CACHE STRING "Python checker command to run during Python module compilation" )
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# Apply (compiler) settings from CxxUtils: # Apply (compiler) settings from CxxUtils:
set( CxxUtilsSettings_DIR set( CxxUtilsSettings_DIR
"${CMAKE_SOURCE_DIR}/../../Control/CxxUtils/cmake" ) "${CMAKE_SOURCE_DIR}/../../Control/CxxUtils/cmake" )
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Set up the project. # Set up the project.
cmake_minimum_required( VERSION 3.10 ) cmake_minimum_required( VERSION 3.10 )
...@@ -19,6 +19,10 @@ if( CMAKE_CUDA_COMPILER ) ...@@ -19,6 +19,10 @@ if( CMAKE_CUDA_COMPILER )
"CUDA architectures to build code for" ) "CUDA architectures to build code for" )
endif() endif()
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# Set the versions of the TDAQ externals to pick up for the build: # Set the versions of the TDAQ externals to pick up for the build:
if( NOT LCG_NIGHTLY ) if( NOT LCG_NIGHTLY )
if( NOT "$ENV{LCG_NIGHTLY}" STREQUAL "" ) if( NOT "$ENV{LCG_NIGHTLY}" STREQUAL "" )
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Set up the project. # Set up the project.
cmake_minimum_required( VERSION 3.10 ) cmake_minimum_required( VERSION 3.10 )
...@@ -14,6 +14,10 @@ set( TDAQ-COMMON_ATROOT ...@@ -14,6 +14,10 @@ set( TDAQ-COMMON_ATROOT
"$ENV{TDAQ_RELEASE_BASE}/tdaq-common/tdaq-common-${TDAQ-COMMON_VERSION}" "$ENV{TDAQ_RELEASE_BASE}/tdaq-common/tdaq-common-${TDAQ-COMMON_VERSION}"
CACHE PATH "The directory to pick up tdaq-common from" ) CACHE PATH "The directory to pick up tdaq-common from" )
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# Find the ATLAS CMake code: # Find the ATLAS CMake code:
find_package( AtlasCMake QUIET ) find_package( AtlasCMake QUIET )
......
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# #
# This is the main CMakeLists.txt file for building the VP1Light # This is the main CMakeLists.txt file for building the VP1Light
# software release. # software release.
...@@ -14,6 +14,10 @@ unset( _version ) ...@@ -14,6 +14,10 @@ unset( _version )
# HepMC3 # HepMC3
set( HEPMC3_USE TRUE CACHE BOOL "Build with HepMC3" ) set( HEPMC3_USE TRUE CACHE BOOL "Build with HepMC3" )
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# This project is built on top of VP1LightExternals: # This project is built on top of VP1LightExternals:
find_package( VP1LightExternals REQUIRED ) find_package( VP1LightExternals REQUIRED )
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# #
# Project file for building a selected set of packages against an # Project file for building a selected set of packages against an
# installed ATLAS release/nightly. # installed ATLAS release/nightly.
...@@ -16,6 +16,10 @@ project( WorkDir ) ...@@ -16,6 +16,10 @@ project( WorkDir )
set( CMAKE_CUDA_ARCHITECTURES "52" CACHE STRING set( CMAKE_CUDA_ARCHITECTURES "52" CACHE STRING
"CUDA architectures to build code for" ) "CUDA architectures to build code for" )
# Disable FindBoost warnings:
set( Boost_NO_WARN_NEW_VERSIONS TRUE CACHE BOOL
"Do not warn about incompatible Boost versions" )
# Enable the CI tests in the CITest package in case the user wants to # Enable the CI tests in the CITest package in case the user wants to
# run them locally: # run them locally:
set( ATLAS_ENABLE_CI_TESTS TRUE CACHE BOOL set( ATLAS_ENABLE_CI_TESTS TRUE CACHE BOOL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment