Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ version: 2
jobs:
build:
docker:
- image: fedora:33
- image: fedora:34
working_directory: /hpx/
steps:
- checkout
- run:
name: Install dependencies
command: dnf update -y && dnf install -y doxygen libpng-devel hpx-devel cmake
command: dnf update -y && dnf install -y doxygen libpng-devel hpx-devel cmake clang llvm-devel
- run:
name: Install cuda
command: |
dnf install -y 'dnf-command(config-manager)' && \
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora33/x86_64/cuda-fedora33.repo && \
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora34/x86_64/cuda-fedora34.repo && \
dnf clean expire-cache && \
dnf update -y && \
dnf module install -y nvidia-driver:latest-dkms && \
Expand All @@ -29,8 +29,9 @@ jobs:
- run:
name: Configure
command: |
echo $(find /usr/local -name "cuda*") \
cd /hpx/build && \
cmake .. -DCMAKE_BUILD_TYPE=Release -DHPX_WITH_MALLOC=system -DHPXCL_WITH_OPENCL=OFF -DHPXCL_WITH_CUDA=On -DHPXCL_WITH_BENCHMARK=On -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.4
cmake .. -DCMAKE_BUILD_TYPE=Release -DHPX_WITH_MALLOC=system -DHPXCL_WITH_OPENCL=OFF -DHPXCL_WITH_CUDA=On -DHPXCL_WITH_BENCHMARK=On -DCUDA_TOOLKIT_ROOT_DIR=$(find /usr/local -name "cuda*")
- run:
name: Build
command: cd /hpx/build && make -j 2 && make install
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

# Require a minimum version of CMake
cmake_minimum_required(VERSION 3.3.2 FATAL_ERROR)
cmake_minimum_required(VERSION 3.17 FATAL_ERROR)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING
Expand Down
Loading