fix build
This commit is contained in:
parent
8db5beea5a
commit
dbd7080e53
@ -41,6 +41,7 @@ This package contains development headers and libraries for the cereal library
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
mkdir %{_target_platform}
|
||||||
|
pushd %{_target_platform}
|
||||||
%{cmake3} .. -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF
|
%{cmake3} .. -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -48,9 +49,7 @@ mkdir %{_target_platform}
|
|||||||
%make_install -C %{_target_platform}
|
%make_install -C %{_target_platform}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
#test_portable_binary_archive is unstable
|
make -C %{_target_platform} test
|
||||||
#https://github.com/USCiLab/cereal/issues/338
|
|
||||||
make -C %{_target_platform} test ARGS="-V -E test_portable_binary_archive"
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user