Skip to content

Commit

Permalink
can't build against system boost on RHEL 8
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 10, 2024
1 parent 1298052 commit 3f5325a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packaging/rpm/python3-pycuda.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ Autoreq: 0
Name: python3-pycuda
%if 0%{?el8}
Version: 2022.1
%define systemboost 0
%else
Version: 2024.1.2
%define systemboost 1
%endif
Release: 2
URL: http://mathema.tician.de/software/pycuda
Expand Down Expand Up @@ -78,8 +80,10 @@ CUDA=/opt/cuda
--cudadrv-lib-dir=%{_libdir} \
--boost-inc-dir=%{_includedir} \
--boost-lib-dir=%{_libdir} \
%if %{systemboost}
--no-use-shipped-boost \
--boost-python-libname=boost_python%{py_mm} \
%endif
--no-cuda-enable-curand
# --boost-python-libname=boost_python37
# --boost-thread-libname=boost_thread
Expand Down

0 comments on commit 3f5325a

Please sign in to comment.