Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/Traccc/extern/alpaka/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # TRACCC library, part of the ACTS project (R&D line)
0002 #
0003 # (c) 2022-2025 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006 
0007 # CMake include(s).
0008 cmake_minimum_required(VERSION 3.25)
0009 include(FetchContent)
0010 
0011 # Tell the user what's happening.
0012 message(STATUS "Building Alpaka as part of the TRACCC project")
0013 
0014 # Declare where to get Alpaka from.
0015 set(TRACCC_ALPAKA_SOURCE
0016     "URL;https://github.com/alpaka-group/alpaka/archive/refs/tags/2.0.0.tar.gz;URL_MD5;7ed1ad266408cdb51f0f12f9e6712cc9"
0017     CACHE STRING
0018     "Source for Alpaka, when built as part of this project"
0019 )
0020 
0021 set(TRACCC_ALPAKA_PATCH
0022     ""
0023     CACHE STRING
0024     "Patch(es) for alpaka, when built as part of this project"
0025 )
0026 
0027 mark_as_advanced(TRACCC_ALPAKA_SOURCE TRACCC_ALPAKA_PATCH)
0028 FetchContent_Declare(
0029     Alpaka
0030     SYSTEM
0031     ${TRACCC_ALPAKA_SOURCE}
0032     ${TRACCC_ALPAKA_PATCH}
0033 )
0034 
0035 # Turn off build testing.
0036 set(BUILD_TESTING FALSE)
0037 
0038 # Get it into the current directory.
0039 FetchContent_MakeAvailable(Alpaka)