!2 fix build error

Merge pull request !2 from small_leek/xsl
This commit is contained in:
openeuler-ci-bot 2020-07-03 14:13:47 +08:00 committed by Gitee
commit e243aa7a02

View File

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