fix build errors

This commit is contained in:
root 2020-06-23 08:47:01 +08:00
parent b5f274ed54
commit e6a61fa347

View File

@ -1,13 +1,9 @@
#
# spec file for package ComputeLibrary
#
%define so_ver 18
# Disable validation tests by default due to opencl needing to be set up
%bcond_with computelibrary_tests
Name: ComputeLibrary
Version: 20.02.1
Release: 1
Release: 2
Summary: ARM Compute Library
License: MIT
URL: https://developer.arm.com/technologies/compute-library
@ -53,8 +49,10 @@ Free *.npy and *.ppm files to use with example binaries.
%build
scons os=linux build=native \
Werror=1 -j debug=0 \
opencl=0 \
set_soname=1 \
examples=1 \
gles_compute=0 \
opencl=1 \
%if %{with computelibrary_tests}
validation_tests=1 \
%else
@ -125,5 +123,8 @@ LD_LIBRARY_PATH="build/" build/tests/arm_compute_validation
%{_datadir}/ComputeLibrary/%{sampledir}
%changelog
* Sun May 10 2010 sinever <sinever@126.com>
* Mon Jun 22 2020 Senlin Xia <xisenlin1@huawei.com> - 20.02.1-2
- fix build errors
* Mon May 10 2010 sinever <sinever@126.com>
- Initial release 20.02.1