File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 29
29
30
30
- name : Install Packages
31
31
run : |
32
- sudo apt-get install -y cmake make wget
32
+ sudo apt-get install -y wget
33
33
34
34
- name : Install CUDA
35
35
run : |
41
41
echo "LD_LIBRARY_PATH=/usr/local/cuda-12.6/lib64:${LD_LIBRARY_PATH}" >> $GITHUB_ENV
42
42
echo "CUDA_PATH=/usr/local/cuda-12.6" >> $GITHUB_ENV
43
43
44
+ - name : Install CMake
45
+ run : |
46
+ wget https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-x86_64.sh
47
+ chmod +x cmake-3.24.0-linux-x86_64.sh
48
+ sudo mkdir -p /opt/cmake
49
+ sudo ./cmake-3.24.0-linux-x86_64.sh --prefix=/opt/cmake --skip-license
50
+ sudo rm -f /usr/local/bin/cmake
51
+ sudo ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
52
+
53
+ - name : Verify CMake version
54
+ run : cmake --version
55
+
44
56
- name : Setup Boost
45
57
run : |
46
58
echo GITHUB_REPOSITORY: $GITHUB_REPOSITORY
Original file line number Diff line number Diff line change 4
4
# Distributed under the Boost Software License, Version 1.0.
5
5
# https://www.boost.org/LICENSE_1_0.txt
6
6
7
- cmake_minimum_required (VERSION 3.18 )
7
+ cmake_minimum_required (VERSION 3.24 )
8
8
9
9
project (boost_crypt VERSION 1.0.0 LANGUAGES CXX )
10
10
@@ -18,12 +18,8 @@ if(BOOST_CRYPT_ENABLE_CUDA)
18
18
19
19
enable_language (CUDA )
20
20
21
- # Let CMake think we want "CUDA17" so it won't fail:
22
- #set(CMAKE_CUDA_STANDARD 17)
23
- #set(CMAKE_CUDA_STANDARD_REQUIRED ON)
24
-
25
- # But actually pass C++20 to NVCC:
26
- set (CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --std=c++20" )
21
+ set (CMAKE_CUDA_STANDARD 20 )
22
+ set (CMAKE_CUDA_STANDARD_REQUIRED ON )
27
23
28
24
set (CMAKE_CUDA_EXTENSIONS OFF )
29
25
You can’t perform that action at this time.
0 commit comments