forked from pool/aws-c-common
- Update to version 0.6.8 * Upgrade CBMC proof tools: starter kit and Litani 1.10.0 (#826) + Upgrade proof tool submodules This commit advances Litani to release 1.10.0, and the starter kit to the tip-of-tree. This brings the following improvements: - Profiling - Litani measures the memory usage of the CBMC safety checking and coverage checking jobs - The dashboard includes box-and-whisker diagrams for memory use per proof - The dashboard includes a graph of how many parallel jobs are running over the whole run, making it easy to choose a CI machine with enough parallelism - It is now possible to designate particular proofs as "EXPENSIVE"; Litani runs expensive proofs serially, ensuring that they do not over-consume resources like RAM. - UI improvements - Each pipeline page includes a table of contents - Each pipeline page includes a dependency graph of the pipeline - Each job on the pipeline page has a hyperlink to that job - The terminal output is now less noisy + Change cbmc-batch.yaml to cbmc-proof.txt This makes the proof layout consistent with the starter kit, which will allow us to use a generic run script in a future commit. Putting this in commit by itself because the diff is huge and not worth reading (just moving some files and changing two lines in the runscript). + Symlink run-cbmc-proofs.py to starter kit The run script is now a symbolic link into the starter kit submodule, meaning that it will be updated whenever the starter kit is. This is done iso that AWS C Common doesn't carry custom modifications to the run script OBS-URL: https://build.opensuse.org/request/show/911823 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-common?expand=0&rev=33
95 lines
2.9 KiB
RPMSpec
95 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package aws-c-common
|
|
#
|
|
# Copyright (c) 2021 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/
|
|
#
|
|
|
|
|
|
%define library_version 1.0.0
|
|
%define library_soversion 1
|
|
Name: aws-c-common
|
|
Version: 0.6.8
|
|
Release: 0
|
|
Summary: Core c99 package for AWS SDK for C
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://github.com/awslabs/aws-c-common
|
|
Source0: https://github.com/awslabs/%{name}/archive/v%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: fdupes
|
|
BuildRequires: ninja
|
|
|
|
%description
|
|
Core c99 package for AWS SDK for C. Includes cross-platform primitives,
|
|
configuration, data structures, and error handling.
|
|
|
|
%package -n lib%{name}%{library_soversion}
|
|
Summary: Shared library files for aws-c-common library
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description -n lib%{name}%{library_soversion}
|
|
Core c99 package for AWS SDK for C. Includes cross-platform primitives,
|
|
configuration, data structures, and error handling.
|
|
|
|
This package contains the dynamically linked library.
|
|
|
|
%package -n lib%{name}-devel
|
|
Summary: Development files for aws-c-common library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: lib%{name}%{library_soversion} = %{version}
|
|
|
|
%description -n lib%{name}-devel
|
|
Core c99 package for AWS SDK for C. Includes cross-platform primitives,
|
|
configuration, data structures, and error handling.
|
|
|
|
This package contains the development files.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%define __builder ninja
|
|
%cmake \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
%make_jobs
|
|
|
|
%check
|
|
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/build
|
|
%ctest
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
# Move cmake files to correct installation path
|
|
mkdir -p %{buildroot}%{_libdir}/cmake/aws-c-common
|
|
mv %{buildroot}%{_libdir}/aws-c-common/cmake/* %{buildroot}%{_libdir}/cmake/aws-c-common/
|
|
mv %{buildroot}%{_libdir}/cmake/Aws* %{buildroot}%{_libdir}/cmake/aws-c-common/
|
|
rm -rf %{buildroot}%{_libdir}/aws-c-common
|
|
|
|
%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
|
%postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name}%{library_soversion}
|
|
%doc NOTICE README.md
|
|
%license LICENSE
|
|
%{_libdir}/*.so.%{library_soversion}
|
|
%{_libdir}/*.so.%{library_version}
|
|
|
|
%files -n lib%{name}-devel
|
|
%{_libdir}/cmake/aws-c-common
|
|
%{_libdir}/*.so
|
|
%{_includedir}/*
|
|
|
|
%changelog
|