Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F
highway
highway.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File highway.spec of Package highway
# # spec file for package highway # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %bcond_without tests %define lname libhwy1 Name: highway Version: 1.0.1 Release: 0 Summary: C++ library providing SIMD/vector intrinsics License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://github.com/google/highway Source: https://github.com/google/highway/archive/refs/tags/%version.tar.gz # https://github.com/google/highway/issues/776 %if 0%{?suse_version} > 1550 %ifarch aarch64 BuildRequires: gcc11-c++ %else BuildRequires: c++_compiler %endif %else BuildRequires: c++_compiler %endif BuildRequires: cmake BuildRequires: pkg-config BuildRequires: pkgconfig(gtest) %description Highway is a C++ library that provides portable SIMD/vector intrinsics. %package -n %lname Summary: Efficient and performance-portable SIMD Group: Development/Libraries/C and C++ %description -n %lname Highway is a C++ library that provides portable SIMD/vector intrinsics. %package devel Summary: Development files for Highway Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel Highway is a C++ library that provides portable SIMD/vector intrinsics. Development files for Highway. %package devel-doc Summary: Documentation for Highway Group: Documentation/Other BuildArch: noarch %description devel-doc Highway is a C++ library that provides portable SIMD/vector intrinsics. Documentation for Highway development. %prep %autosetup -p1 %build export CFLAGS="%optflags -DHWY_COMPILE_ALL_ATTAINABLE" export CXXFLAGS="$CFLAGS" %if 0%{?suse_version} > 1550 %ifarch aarch64 export CXX=g++-11 %endif %endif %cmake \ -DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DHWY_SYSTEM_GTEST=ON %cmake_build %install %cmake_install %check %if 0%{?with tests} export CTEST_PARALLEL_LEVEL=2 %ctest --parallel 2 --verbose || : %endif %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %_libdir/libhwy*.so.* %license LICENSE %files devel %_includedir/hwy/ %_libdir/libhwy*.so %_libdir/pkgconfig/*.pc %files devel-doc %doc README.md g3doc/* hwy/examples/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor