Skip to content

Commit

Permalink
Update Linux package
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Oct 22, 2024
1 parent 4021f4d commit fa0e8aa
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 19 deletions.
10 changes: 8 additions & 2 deletions distro/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
openturns (1.23~rc1-1) experimental; urgency=medium
openturns (1.24~rc1-1) experimental; urgency=medium

* New upstream pre-release

-- Julien Schueller <[email protected]> Thu, 02 May 2024 10:19:33 +0100
-- Julien Schueller <[email protected]> Wed, 23 Oct 2024 10:19:33 +0200

openturns (1.23-1) experimental; urgency=medium

* New upstream release

-- Julien Schueller <[email protected]> Thu, 05 Jun 2024 10:19:33 +0100

openturns (1.22-1) experimental; urgency=medium

Expand Down
6 changes: 3 additions & 3 deletions distro/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Vcs-Browser: https://salsa.debian.org/science-team/openturns
Vcs-Git: https://salsa.debian.org/science-team/openturns.git
Rules-Requires-Root: no

Package: libopenturns0.24
Package: libopenturns0.25
Section: libs
Architecture: any
Depends: ${shlibs:Depends},
Expand All @@ -65,7 +65,7 @@ Section: libdevel
Architecture: any
Depends: ${misc:Depends},
libceres-dev,
libopenturns0.24 (= ${binary:Version})
libopenturns0.25 (= ${binary:Version})
Description: headers and development libraries for OpenTURNS
OpenTURNS is a powerful and generic tool to treat and quantify
uncertainties in numerical simulations in design, optimization and
Expand Down Expand Up @@ -104,7 +104,7 @@ Section: python
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
libopenturns0.24 (= ${binary:Version}),
libopenturns0.25 (= ${binary:Version}),
${python3:Depends}
Provides: ${python3:Provides}
Suggests: python3-matplotlib,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# We use a longer package name so that it is more descriptive. Also avoiding
# possible troubles in the namespace of packages.
libopenturns0.24: package-name-doesnt-match-sonames libOT0.24
libopenturns0.25: package-name-doesnt-match-sonames libOT0.25

# Not providing symbols for the C++ library, using shlibs file instead
libopenturns0.24: no-symbols-control-file
libopenturns0.25: no-symbols-control-file

4 changes: 2 additions & 2 deletions distro/debian/not-installed
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
usr/lib/python*/*-packages/openturns/*/*.pyc
usr/lib/python*/*-packages/openturns/usecases/*/*.pyc
usr/lib/python3/dist-packages/openturns/*/*.pyc
usr/lib/python3/dist-packages/openturns/usecases/*/*.pyc
usr/share/gdb/auto-load/usr/lib/*/libOT.so*gdb.py
usr/share/doc/openturns/COPYING*
10 changes: 5 additions & 5 deletions distro/debian/python3-openturns.install
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
usr/lib/python3*/*-packages/openturns/*.py
usr/lib/python3*/*-packages/openturns/*.so
usr/lib/python3*/*-packages/openturns-*.dist-info/*
usr/lib/python3*/*-packages/openturns/usecases/*.py
usr/lib/python3*/*-packages/openturns/usecases/*.csv
usr/lib/python3/dist-packages/openturns/*.py
usr/lib/python3/dist-packages/openturns/*.so
usr/lib/python3/dist-packages/openturns-*.dist-info/*
usr/lib/python3/dist-packages/openturns/usecases/*.py
usr/lib/python3/dist-packages/openturns/usecases/*.csv
3 changes: 2 additions & 1 deletion distro/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ override_dh_auto_configure:
-Dot_configure_date:STRING='$(BUILD_DATE)' \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR:PATH="/usr/lib/$(DEB_HOST_MULTIARCH)" \
-DCMAKE_INSTALL_LIBDIR:PATH=lib/$(DEB_HOST_MULTIARCH) \
-DOPENTURNS_PYTHON_MODULE_PATH=lib/python3/dist-packages \
-DINSTALL_DESTDIR:PATH=$(CURDIR)/debian/tmp \
-DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 \
-DSWIG_COMPILE_FLAGS:STRING='-O1'
Expand Down
12 changes: 8 additions & 4 deletions distro/rpm/openturns.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
-DBUILD_SHARED_LIBS:BOOL=ON

Name: openturns
Version: 1.23rc1
Version: 1.24rc1
Release: 1%{?dist}
Summary: Uncertainty treatment library
Group: System Environment/Libraries
Expand All @@ -31,6 +31,7 @@ BuildRequires: hdf5-devel
%endif
BuildRequires: boost-devel
%if 0%{?suse_version}
BuildRequires: gcc11-c++
BuildRequires: mpc-devel
BuildRequires: cblas-devel
%else
Expand Down Expand Up @@ -95,13 +96,13 @@ Python textual interface to OpenTURNS uncertainty library
%setup -q

%build
%if 0%{?suse_version}
export CXX=/usr/bin/g++-11
%endif
%cmake -DINSTALL_DESTDIR:PATH=%{buildroot} \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
-DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 \
-DSWIG_COMPILE_FLAGS="-O1" \
%if 0%{?suse_version}
-DUSE_CXX17=OFF \
%endif
-DOPENTURNS_SYSCONFIG_PATH=/etc .
make %{?_smp_mflags} OT
make
Expand Down Expand Up @@ -138,6 +139,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} OMP_NUM_THREADS=1 OPENTURNS_NUM_THREADS=1
%{python_sitearch}/%{name}-*.dist-info/

%changelog
* Wed Oct 23 2024 Julien Schueller <schueller at phimeca dot com> 1.24-1
- New upstream release

* Thu May 02 2024 Julien Schueller <schueller at phimeca dot com> 1.23-1
- New upstream release

Expand Down

0 comments on commit fa0e8aa

Please sign in to comment.