Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/pybind11.git#69ba4e866e76f0774dba8553c42e6fb6f9b19751
This commit is contained in:
parent
96ebbec6ec
commit
17012b0c6e
@ -119,7 +119,11 @@ pys="$pys python3"
|
||||
%endif
|
||||
for py in $pys; do
|
||||
mkdir $py
|
||||
%cmake -B $py -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%{_bindir}/$py -DPYBIND11_INSTALL=TRUE -DUSE_PYTHON_INCLUDE_DIR=FALSE %{!?with_tests:-DPYBIND11_TEST=OFF}
|
||||
# When -DCMAKE_BUILD_TYPE is set to Release, the tests in %%check might segfault.
|
||||
# However, we do not ship any binaries, and therefore Debug
|
||||
# build type does not affect the results.
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1921199
|
||||
%cmake -B $py -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=%{_bindir}/$py -DPYBIND11_INSTALL=TRUE -DUSE_PYTHON_INCLUDE_DIR=FALSE %{!?with_tests:-DPYBIND11_TEST=OFF}
|
||||
%make_build -C $py
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user