Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7d16e00428 | |||
| f069063acf | |||
| 77e7f02631 | |||
| be052ff30c | |||
|
|
63dd96fde0 | ||
| 98c24bfd0b | |||
|
|
e428e7a33d |
13
adolc-remove-boost-system-library.patch
Normal file
13
adolc-remove-boost-system-library.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -purN a/configure.ac b/configure.ac
|
||||
--- a/configure.ac 2020-02-01 21:29:37.000000000 +0100
|
||||
+++ b/configure.ac 2025-09-20 13:36:16.485071534 +0200
|
||||
@@ -347,8 +347,7 @@ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||
AC_LANG_PUSH([C++])
|
||||
AC_CHECK_HEADERS([boost/pool/pool_alloc.hpp])
|
||||
AC_LANG_POP([C++])
|
||||
-AX_BOOST_SYSTEM
|
||||
-LDFLAGS="$LDFLAGS $BOOST_LDFLAGS $BOOST_SYSTEM_LIB"
|
||||
+LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
|
||||
fi
|
||||
|
||||
if test "x$want_boost" = xyes -a "x$boost_new" = xyes -a "x$ac_cv_header_boost_pool_pool_alloc_hpp" = xyes -a "x$link_system" = xyes ; then
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 20 12:00:58 UTC 2025 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
- libboost_system was removed upstream, fixes boo#1249973
|
||||
* Patch adolc-remove-boost-system-library.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 12 12:11:24 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Drop baselibs.conf, 32bit support is not needed anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 15:53:08 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Modernize specfile and avoid bashisms (commented, but still)
|
||||
- Remove em dashes from summaries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 7 13:18:20 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
24
adolc.spec
24
adolc.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package adolc
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -24,19 +24,16 @@ Summary: Algorithmic Differentiation Library for C/C++
|
||||
License: EPL-1.0 OR GPL-2.0-or-later
|
||||
URL: https://github.com/coin-or/ADOL-C
|
||||
Source0: https://github.com/coin-or/ADOL-C/archive/releases/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
# from https://github.com/coin-or/ADOL-C/pull/47.patch
|
||||
Patch1: handle-lib64-for-riscv64.patch
|
||||
Patch2: adolc-remove-boost-system-library.patch
|
||||
BuildRequires: ColPack-devel
|
||||
BuildRequires: automake
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?suse_version} > 1325
|
||||
BuildRequires: libboost_headers-devel
|
||||
BuildRequires: libboost_system-devel
|
||||
%else
|
||||
BuildRequires: boost-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
ADOL-C (Automatic Differentiation by OverLoading in C++) facilitates
|
||||
@@ -66,10 +63,8 @@ This package provides the development environment for ADOL-C
|
||||
(Automatic Differentiation by OverLoading in C++).
|
||||
|
||||
%package doc
|
||||
Summary: Algorithmic Differentiation Library for C/C++ -- documentation
|
||||
%if 0%{?suse_version}
|
||||
Summary: Documentation for the C/C++ Algorithmic Differentiation Library
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
This package provides the user's manual for ADOL-C.
|
||||
@@ -78,10 +73,10 @@ This package provides the user's manual for ADOL-C.
|
||||
%autosetup -p1 -n ADOL-C-releases-%{version}
|
||||
|
||||
%build
|
||||
# autoreconf -v --install --force
|
||||
autoreconf -v --install --force
|
||||
%configure
|
||||
%make_build
|
||||
# pushd ADOL-C/doc
|
||||
# cd ADOL-C/doc
|
||||
# for ((i=0; i < 3; i++)); do
|
||||
# pdflatex adolc-manual.tex &>/dev/null
|
||||
# done
|
||||
@@ -90,8 +85,7 @@ This package provides the user's manual for ADOL-C.
|
||||
%make_install
|
||||
find %{buildroot} -type f "(" -name "*.a" -o -name "*.la" ")" -delete -print
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %{lname}
|
||||
|
||||
%files -n %{lname}
|
||||
%license LICENSE
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
libadolc2
|
||||
adolc-devel
|
||||
requires -adolc-<targettype>
|
||||
requires "libadolc2-<targettype> = <version>"
|
||||
Reference in New Issue
Block a user