diff --git a/ComputeLibrary-22.11.tar.gz b/ComputeLibrary-24.02.tar.gz similarity index 60% rename from ComputeLibrary-22.11.tar.gz rename to ComputeLibrary-24.02.tar.gz index a616afa95e5445714a76390098449a1dad7510ab..710cd8246c577d140dc417991e241f059fda9350 100644 Binary files a/ComputeLibrary-22.11.tar.gz and b/ComputeLibrary-24.02.tar.gz differ diff --git a/ComputeLibrary.spec b/ComputeLibrary.spec index e996e630b60d47b26acab056a49c304464579c3b..bb66b61d17927ed7464b9459d27fa6d1cda00145 100644 --- a/ComputeLibrary.spec +++ b/ComputeLibrary.spec @@ -1,10 +1,10 @@ -%define so_ver 29 +%define so_ver 35 # Disable validation tests by default due to opencl needing to be set up %bcond_with computelibrary_tests Name: ComputeLibrary -Version: 22.11 -Release: 1.1 -Summary: ARM Compute Library +Version: 24.02 +Release: 1.0 +Summary: Arm Compute Library License: MIT URL: https://developer.arm.com/technologies/compute-library Source: https://github.com/ARM-software/ComputeLibrary/archive/v%{version}.tar.gz#/ComputeLibrary-%{version}.tar.gz @@ -15,26 +15,31 @@ Recommends: %{name}-sample-data ExclusiveArch: aarch64 x86_64 %description -A software library for computer vision and machine learning. -The Compute Library is a collection of low-level functions optimized for Arm CPU and GPU architectures targeted at image processing, computer vision, and machine learning. +The Arm Compute Library is a collection of low-level machine learning functions optimized for Cortex-A CPU, Neoverse and Mali GPU architectures. The Arm Compute Library provides superior performance to other open source alternatives and immediate support for new Arm technologies e.g. SVE2 Examples binaries part. %package -n libarm_compute%{so_ver} -Summary: ARM Compute Library +Summary: Arm Compute Library %description -n libarm_compute%{so_ver} -A software library for computer vision and machine learning. -The Compute Library is a collection of low-level functions optimized for Arm CPU and GPU architectures targeted at image processing, computer vision, and machine learning. +The Arm Compute Library is a collection of low-level machine learning functions optimized for Cortex-A CPU, Neoverse and Mali GPU architectures. The Arm Compute Library provides superior performance to other open source alternatives and immediate support for new Arm technologies e.g. SVE2 +Library part. + +%package -n libarm_compute_graph%{so_ver} +Summary: Arm Compute Library - Graph part + +%description -n libarm_compute_graph%{so_ver} +The Arm Compute Library is a collection of low-level machine learning functions optimized for Cortex-A CPU, Neoverse and Mali GPU architectures. The Arm Compute Library provides superior performance to other open source alternatives and immediate support for new Arm technologies e.g. SVE2 Library part. %package devel -Summary: ARM Compute Library -- devel +Summary: Arm Compute Library -- devel Requires: %{name} = %{version} Requires: libarm_compute%{so_ver} = %{version} +Requires: libarm_compute_graph%{so_ver} = %{version} %description devel -A software library for computer vision and machine learning. -The Compute Library is a collection of low-level functions optimized for Arm CPU and GPU architectures targeted at image processing, computer vision, and machine learning. +The Arm Compute Library is a collection of low-level machine learning functions optimized for Cortex-A CPU, Neoverse and Mali GPU architectures. The Arm Compute Library provides superior performance to other open source alternatives and immediate support for new Arm technologies e.g. SVE2 Devel part, including headers. %package sample-data @@ -52,12 +57,15 @@ scons os=linux build=native \ set_soname=1 \ examples=1 \ opencl=1 \ + debug=0 asserts=0 \ + embed_kernels=1 \ %if %{with computelibrary_tests} validation_tests=1 \ %else validation_tests=0 \ %endif %ifarch aarch64 + multi_isa=1 \ neon=1 arch=arm64-v8a \ %endif %ifarch x86_64 @@ -83,15 +91,21 @@ rm -f $(find %{buildroot}%{_includedir}/ -name *.cpp) mkdir -p %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir} cp -r data/* %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir} # Install scripts -install -Dm0755 scripts/* %{buildroot}%{_bindir} +rm -rf scripts/modules # Unused scripts/module/Shell.py +install -Dm0755 scripts/{*.py,*.go,*.sh} %{buildroot}%{_bindir} # Fix Python scripts interpreter for pyfile in `ls %{buildroot}%{_bindir}/*.py`; do - sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python|' $pyfile + sed -i -e 's|#!%{_bindir}/env python3|#!%{_bindir}/python3|' $pyfile + sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python3|' $pyfile done +sed -i -e 's|#!%{_bindir}/python|#!%{_bindir}/python3|' %{buildroot}%{_bindir}/generate_build_files.py %post -n libarm_compute%{so_ver} -p /sbin/ldconfig %postun -n libarm_compute%{so_ver} -p /sbin/ldconfig +%post -n libarm_compute_graph%{so_ver} -p /sbin/ldconfig +%postun -n libarm_compute_graph%{so_ver} -p /sbin/ldconfig + %if %{with computelibrary_tests} %check LD_LIBRARY_PATH="build/" build/tests/arm_compute_validation @@ -103,6 +117,9 @@ LD_LIBRARY_PATH="build/" build/tests/arm_compute_validation %files -n libarm_compute%{so_ver} %license LICENSE %{_libdir}/*.so.%{so_ver}* +%files -n libarm_compute_graph%{so_ver} +%license LICENSE +%{_libdir}/libarm_compute_graph.so.%{so_ver}* %files devel %dir %{_includedir}/arm_compute @@ -122,6 +139,9 @@ LD_LIBRARY_PATH="build/" build/tests/arm_compute_validation %{_datadir}/ComputeLibrary/%{sampledir} %changelog +* Thu Mar 14 2024 Jun He - 24.02-1.0 +- update version to 24.02 + * Fri Dec 23 2022 Dandan Xu - 22.11-1.1 - update version to 22.11