Dominique Leuenberger 2022-08-24 13:11:05 +00:00 committed by Git OBS Bridge
commit ff222ba0f7
6 changed files with 20 additions and 63 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c97e3b1cf6f176bd2099201cf6b723ffd2aef3f8c1f20713bfd0bab550a9318c
size 31070256

3
lalapps-9.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0897b47672d0018fa3d801573c612b4584c75e37d4632ec9de22010493e73b9e
size 2270120

View File

@ -1,23 +1,8 @@
Index: lalapps-7.2.0/src/pulsar/Weave/Makefile.am
Index: lalapps-9.0.0/configure.ac
===================================================================
--- lalapps-7.2.0.orig/src/pulsar/Weave/Makefile.am
+++ lalapps-7.2.0/src/pulsar/Weave/Makefile.am
@@ -75,5 +75,10 @@ if !CFITSIO
skip_tests += $(test_scripts)
endif
+# Skip Weave tests on non-x86_64
+if SKIP_WEAVE_TESTS
+skip_tests += $(test_scripts)
+endif
+
# testWeave_reference_results.sh requires output from tests that compare against reference results
testWeave_reference_results.log: testWeave_interpolating.log testWeave_non_interpolating.log testWeave_single_segment.log
Index: lalapps-7.2.0/configure.ac
===================================================================
--- lalapps-7.2.0.orig/configure.ac
+++ lalapps-7.2.0/configure.ac
@@ -318,6 +318,13 @@ AM_CPPFLAGS="-I\$(top_srcdir)/src ${AM_C
--- lalapps-9.0.0.orig/configure.ac
+++ lalapps-9.0.0/configure.ac
@@ -260,6 +260,13 @@ AM_CPPFLAGS="-I\$(top_srcdir)/src ${AM_C
# RedHat-derived systems.
AC_SUBST([pkgpythondir], ["\${pkgpyexecdir}"])

View File

@ -1,7 +1,7 @@
Index: lalapps-7.4.0/src/string/StringSearch.c
Index: lalapps-9.0.0/src/string/StringSearch.c
===================================================================
--- lalapps-7.4.0.orig/src/string/StringSearch.c
+++ lalapps-7.4.0/src/string/StringSearch.c
--- lalapps-9.0.0.orig/src/string/StringSearch.c
+++ lalapps-9.0.0/src/string/StringSearch.c
@@ -201,7 +201,7 @@ int main(int argc,char *argv[])
unsigned seg_length;
StringTemplate strtemplate[MAXTEMPLATES];
@ -10,39 +10,4 @@ Index: lalapps-7.4.0/src/string/StringSearch.c
+ int NTemplates_fix = 0; /* number of template given by the template bank file */
REAL8 fcutoff_fix[MAXTEMPLATES]; /* high frequency cutoffs given by the template bank file */
SnglBurst *events=NULL;
MetadataTable process;
Index: lalapps-7.4.0/src/pulsar/HoughFstat/HierarchicalSearch.c
===================================================================
--- lalapps-7.4.0.orig/src/pulsar/HoughFstat/HierarchicalSearch.c
+++ lalapps-7.4.0/src/pulsar/HoughFstat/HierarchicalSearch.c
@@ -1255,7 +1255,7 @@ void SetUpSFTs( LALStatus *status, /**
REAL8 timebase, tObs, deltaFsft;
UINT4 k,numSFTby2;
LIGOTimeGPS tStartGPS, tEndGPS, refTimeGPS, tMidGPS;
- SFTCatalogSequence catalogSeq;
+ SFTCatalogSequence catalogSeq = {};
REAL8 doppWings, fMin, fMax;
REAL8 startTime_freqLo, startTime_freqHi;
@@ -1516,7 +1516,7 @@ void ComputeFstatHoughMap(LALStatus *sta
LIGOTimeGPSVector *tsMid;
REAL8Vector *timeDiffV=NULL;
UINT8Vector hist; /* histogram vector */
- UINT8Vector histTotal; /* total histogram vector */
+ UINT8Vector histTotal = {}; /* total histogram vector */
HoughStats stats; /* statistics struct */
CHAR *fileStats = NULL;
FILE *fpStats = NULL;
Index: lalapps-7.4.0/src/pulsar/SFTTools/splitSFTs.c
===================================================================
--- lalapps-7.4.0.orig/src/pulsar/SFTTools/splitSFTs.c
+++ lalapps-7.4.0/src/pulsar/SFTTools/splitSFTs.c
@@ -204,7 +204,7 @@ int main( int argc, char **argv )
{
int arg; /* current command-line argument */
unsigned int bin; /* current bin */
- struct headertag2 hd, lasthd; /* header of input SFT */
+ struct headertag2 hd, lasthd = {}; /* header of input SFT */
FILE *fpin; /* currently open input filepointer */
FILE *fpout; /* currently open output filepointer */
char *oldcomment; /* comment of input SFT */
ProcessTable *process;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Aug 20 02:48:16 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 9.0.0:
* No release notes.
- Update source URL.
-------------------------------------------------------------------
Mon Jan 3 00:52:11 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -20,13 +20,13 @@
# NEP 29: astropy, numpy, scipy do not have a python36 flavor package in TW
%define skip_python36 1
Name: lalapps
Version: 7.4.0
Version: 9.0.0
Release: 0
Summary: LSC Algorithm Library Applications
License: GPL-2.0-or-later
Group: Productivity/Scientific/Physics
URL: https://wiki.ligo.org/Computing/DASWG/LALSuite
Source: http://software.ligo.org/lscsoft/source/lalsuite/%{name}-%{version}.tar.xz
Source: https://software.igwn.org/sources/source/lalsuite/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM lalapps-fix-uninitialised-var.patch badshah400@gmail.com -- Fix usage of uninitialised variable
Patch0: lalapps-fix-uninitialised-var.patch
# PATCH-FIX-UPSTREAM lalapps-disable-testWeave-for-non-x86_64.patch badshah400@gmail.com -- Disable Weave related tests on all but x86_64 where tolerance errors show up, see https://git.ligo.org/lscsoft/lalsuite/-/issues/105