Accepting request 1000689 from home:StefanBruens:branches:science
- update to 2.20: Too many changes to list, a full list of changes is available in available in the included LOGFILE. - Drop upstream patches: * ccx-2.16-abaqus-shell-heat-transfer-elements-read.patch * 0001-Add-missing-argument-for-inputerror-function-call.patch * 0001-Fix-wrong-parameter-passed-to-us3_materialdata_me.patch * 0001-Fix-wrong-scalar-declaration-for-2x2-inverse-Jacobia.patch * 0001-Pass-rank-1-dummy-for-auxiliary-array-in-isortii.patch OBS-URL: https://build.opensuse.org/request/show/1000689 OBS-URL: https://build.opensuse.org/package/show/science/ccx?expand=0&rev=15
This commit is contained in:
parent
503d33ba93
commit
e32fc955f9
@ -5,9 +5,8 @@ Subject: [PATCH] Fixup spooles include dir
|
|||||||
|
|
||||||
---
|
---
|
||||||
src/cascade.c | 6 +++---
|
src/cascade.c | 6 +++---
|
||||||
src/cascadefem.c | 6 +++---
|
|
||||||
src/spooles.h | 8 ++++----
|
src/spooles.h | 8 ++++----
|
||||||
3 files changed, 10 insertions(+), 10 deletions(-)
|
2 files changed, 7 insertions(+), 7 deletions(-)
|
||||||
|
|
||||||
diff --git a/src/cascade.c b/src/cascade.c
|
diff --git a/src/cascade.c b/src/cascade.c
|
||||||
index 796d5cf..c996f12 100644
|
index 796d5cf..c996f12 100644
|
||||||
@ -25,23 +24,6 @@ index 796d5cf..c996f12 100644
|
|||||||
+#include <spooles/SymbFac.h>
|
+#include <spooles/SymbFac.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "CalculiX.h"
|
|
||||||
diff --git a/src/cascadefem.c b/src/cascadefem.c
|
|
||||||
index 308960c..578d4e3 100755
|
|
||||||
--- a/src/cascadefem.c
|
|
||||||
+++ b/src/cascadefem.c
|
|
||||||
@@ -21,9 +21,9 @@
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#ifdef SPOOLES
|
|
||||||
-#include <misc.h>
|
|
||||||
-#include <FrontMtx.h>
|
|
||||||
-#include <SymbFac.h>
|
|
||||||
+#include <spooles/misc.h>
|
|
||||||
+#include <spooles/FrontMtx.h>
|
|
||||||
+#include <spooles/SymbFac.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "CalculiX.h"
|
#include "CalculiX.h"
|
||||||
diff --git a/src/spooles.h b/src/spooles.h
|
diff --git a/src/spooles.h b/src/spooles.h
|
||||||
index 388f1ff..6966215 100755
|
index 388f1ff..6966215 100755
|
||||||
|
@ -30,4 +30,4 @@ index 97ce9d1..c785f62 100755
|
|||||||
+ -larpack -llapack -lblas \
|
+ -larpack -llapack -lblas \
|
||||||
-lpthread -lm -lc
|
-lpthread -lm -lc
|
||||||
|
|
||||||
ccx_2.19: $(OCCXMAIN) ccx_2.19.a $(LIBS)
|
ccx_2.20: $(OCCXMAIN) ccx_2.20.a $(LIBS)
|
||||||
|
13
ccx.changes
13
ccx.changes
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 1 10:12:59 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- update to 2.20:
|
||||||
|
Too many changes to list, a full list of changes is available in
|
||||||
|
available in the included LOGFILE.
|
||||||
|
- Drop upstream patches:
|
||||||
|
* ccx-2.16-abaqus-shell-heat-transfer-elements-read.patch
|
||||||
|
* 0001-Add-missing-argument-for-inputerror-function-call.patch
|
||||||
|
* 0001-Fix-wrong-parameter-passed-to-us3_materialdata_me.patch
|
||||||
|
* 0001-Fix-wrong-scalar-declaration-for-2x2-inverse-Jacobia.patch
|
||||||
|
* 0001-Pass-rank-1-dummy-for-auxiliary-array-in-isortii.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 14 16:22:01 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Thu Jul 14 16:22:01 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
17
ccx.spec
17
ccx.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ccx
|
# spec file for package ccx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ccx
|
Name: ccx
|
||||||
Version: 2.19
|
Version: 2.20
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An open source finite element package
|
Summary: An open source finite element package
|
||||||
License: GPL-2.0-only AND BSD-3-Clause AND SUSE-Public-Domain
|
License: BSD-3-Clause AND GPL-2.0-only AND SUSE-Public-Domain
|
||||||
Group: Productivity/Scientific/Other
|
Group: Productivity/Scientific/Other
|
||||||
URL: http://www.dhondt.de/
|
URL: http://www.dhondt.de/
|
||||||
Source0: http://www.dhondt.de/ccx_%{version}.src.tar.bz2
|
Source0: http://www.dhondt.de/ccx_%{version}.src.tar.bz2
|
||||||
@ -29,12 +29,7 @@ Source2: ccx-rpmlintrc
|
|||||||
# PATCH-FIX-OPENSUSE -- pass global optflags
|
# PATCH-FIX-OPENSUSE -- pass global optflags
|
||||||
Patch0: ccx-2.16-build.patch
|
Patch0: ccx-2.16-build.patch
|
||||||
Patch1: 0001-Fixup-spooles-include-dir.patch
|
Patch1: 0001-Fixup-spooles-include-dir.patch
|
||||||
Patch2: ccx-2.16-abaqus-shell-heat-transfer-elements-read.patch
|
Patch2: 0001-Use-interface-for-cubtri-callback-function.patch
|
||||||
Patch3: 0001-Add-missing-argument-for-inputerror-function-call.patch
|
|
||||||
Patch4: 0001-Use-interface-for-cubtri-callback-function.patch
|
|
||||||
Patch5: 0001-Fix-wrong-parameter-passed-to-us3_materialdata_me.patch
|
|
||||||
Patch6: 0001-Fix-wrong-scalar-declaration-for-2x2-inverse-Jacobia.patch
|
|
||||||
Patch7: 0001-Pass-rank-1-dummy-for-auxiliary-array-in-isortii.patch
|
|
||||||
BuildRequires: arpack-ng-devel
|
BuildRequires: arpack-ng-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
@ -73,7 +68,6 @@ rmdir -p CalculiX/ccx_%{version}
|
|||||||
# Make reproducible
|
# Make reproducible
|
||||||
sed -i 's@./date.pl; *@@' src/Makefile
|
sed -i 's@./date.pl; *@@' src/Makefile
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@ -105,6 +99,8 @@ cd test
|
|||||||
%ifarch aarch64 %{ix86}
|
%ifarch aarch64 %{ix86}
|
||||||
for f in beamfsh1.inp; do mv $f ${f}_disabled ; done
|
for f in beamfsh1.inp; do mv $f ${f}_disabled ; done
|
||||||
%endif
|
%endif
|
||||||
|
# Apparent mismatch between script and golden data, disable for now (2.20)
|
||||||
|
for f in beamread3.inp beamwrite3.inp ; do mv $f ${f}_error; done
|
||||||
# beamread* depends on beamwrite*
|
# beamread* depends on beamwrite*
|
||||||
# beamprand is random
|
# beamprand is random
|
||||||
# beamptied{5,6} have nondeterministic order of eigenvalues
|
# beamptied{5,6} have nondeterministic order of eigenvalues
|
||||||
@ -116,6 +112,7 @@ function checkInput() {
|
|||||||
echo -n "Procesing $f " | tee -a ccxlog
|
echo -n "Procesing $f " | tee -a ccxlog
|
||||||
%{buildroot}/%{_bindir}/ccx $f >> ccxlog || echo -n "-> $?" ; echo
|
%{buildroot}/%{_bindir}/ccx $f >> ccxlog || echo -n "-> $?" ; echo
|
||||||
[ -f $f.dat -a -f $f.frd ] || echo "$f failed!" | tee -a errorlog
|
[ -f $f.dat -a -f $f.frd ] || echo "$f failed!" | tee -a errorlog
|
||||||
|
[ -f $f.dat.ref ] || return 0
|
||||||
[ "$(wc -l < $f.dat)" -eq "$(wc -l < $f.dat.ref)" ] || echo "Wrong size: $f.dat" | tee -a errorlog
|
[ "$(wc -l < $f.dat)" -eq "$(wc -l < $f.dat.ref)" ] || echo "Wrong size: $f.dat" | tee -a errorlog
|
||||||
grep NaN $f.dat && echo "Contains NaN: $f.dat" | tee -a errorlog
|
grep NaN $f.dat && echo "Contains NaN: $f.dat" | tee -a errorlog
|
||||||
./datcheck.pl $f | tee -a errorlog
|
./datcheck.pl $f | tee -a errorlog
|
||||||
|
3
ccx_2.20.src.tar.bz2
Normal file
3
ccx_2.20.src.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:63bf6ea09e7edcae93e0145b1bb0579ea7ae82e046f6075a27c8145b72761bcf
|
||||||
|
size 1499901
|
3
ccx_2.20.test.tar.bz2
Normal file
3
ccx_2.20.test.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:79848d88dd1e51839d1aed68fb547ff12ad3202c3561c02c2f3a8ceda0f2eb82
|
||||||
|
size 12636197
|
Loading…
Reference in New Issue
Block a user