forked from pool/dynare
Accepting request 1128116 from home:badshah400:branches:science
* Update to version 5.5. * Minor improvement to conditionals specifying the right version of gcc to use. * Drop dynare-add-missing-include.patch: upstreamed. OBS-URL: https://build.opensuse.org/request/show/1128116 OBS-URL: https://build.opensuse.org/package/show/science/dynare?expand=0&rev=15
This commit is contained in:
parent
401d01ac24
commit
1a1e1cf032
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c174a3ebcaf8c4566b9836abad8c04148011bec2ec610ded234f406bfbdd10f8
|
||||
size 18005284
|
3
dynare-5.5.tar.xz
Normal file
3
dynare-5.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:11deae32997e79e500a9802c6408067749485ea7ef3c08bbf24141f2b0e00326
|
||||
size 17924820
|
@ -1,12 +0,0 @@
|
||||
Index: dynare-5.3/preprocessor/src/CodeInterpreter.hh
|
||||
===================================================================
|
||||
--- dynare-5.3.orig/preprocessor/src/CodeInterpreter.hh
|
||||
+++ dynare-5.3/preprocessor/src/CodeInterpreter.hh
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <fstream>
|
||||
#include <cstring>
|
||||
+#include <cstdint>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#ifdef BYTE_CODE
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 11:54:45 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.5:
|
||||
* In a stochastic context, results could be incorrect if an
|
||||
endogenous with a lead ⩾ 2 or an exogenous with a lead ⩾ 1
|
||||
appeared in the argument(s) of a call to a (nonlinear)
|
||||
external function
|
||||
* With the use_dll option of the model block, the expression
|
||||
sign(x) would evaluate to ±1 instead of 0 if x=0
|
||||
* If the guess value given to the steady command was such that
|
||||
the residuals were all below tolerance, except some that are
|
||||
NaN, then this guess value was incorrectly accepted as the
|
||||
solution to the steady state problem
|
||||
* The method_of_moments command with GMM was ignoring the
|
||||
analytic_standard_errors option when using mode_compute=4
|
||||
* Homotopy with the extended_path command at order=0 was broken
|
||||
* The parallel_use_psexec command-line option was ignored
|
||||
* With the bytecode option of the model block, using the
|
||||
operators abs(), cbrt() and sign() would lead to a crash
|
||||
* The fast command-line option was broken under MATLAB with
|
||||
Windows
|
||||
* Ramsey steady state computation could fail if an expectation
|
||||
or diff operator was present in the model
|
||||
* A crash could occur if some external function call was present
|
||||
in an auxiliary variable
|
||||
* The endogenous_prior option of the estimation command could
|
||||
erroneously display a warning message about missing
|
||||
observations
|
||||
* The model_comparison command would crash if the .mod file name
|
||||
had less than four characters
|
||||
* The shock_decomposition command would overwrite previously
|
||||
stored smoother results
|
||||
* The x13 interface in dseries did not handle missing values,
|
||||
particularly at the beginning of a series
|
||||
* The x13 interface in dseries would occasionally crash under
|
||||
Windows with segmentation violations
|
||||
* OccBin: estimation would crash if a previous shocks(surprise)
|
||||
simulation was conducted
|
||||
* The internals command would not find the location of the
|
||||
_results.mat file
|
||||
* The prior optimize command would not work with mode_compute=5
|
||||
- Minor improvement to conditionals specifying the right version
|
||||
of gcc to use.
|
||||
- Drop dynare-add-missing-include.patch: upstreamed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 12 04:31:04 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
14
dynare.spec
14
dynare.spec
@ -22,11 +22,10 @@
|
||||
# Sphinx in Leap 15.x is too old
|
||||
%bcond_with doc
|
||||
%else
|
||||
%define gccver %{nil}
|
||||
%bcond_without doc
|
||||
%endif
|
||||
Name: dynare
|
||||
Version: 5.4
|
||||
Version: 5.5
|
||||
Release: 0
|
||||
Summary: A platform for handling a wide class of economic models
|
||||
License: GPL-3.0-or-later
|
||||
@ -34,11 +33,9 @@ URL: https://www.dynare.org/
|
||||
Source: https://www.dynare.org/release/source/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM dynare-no-return-in-non-void-function.patch badshah400@gmail.com -- Return trivial value from a function that is not declared as returning void
|
||||
Patch0: dynare-no-return-in-non-void-function.patch
|
||||
# PATCH-FIX-UPSTREAM dynare-add-missing-include.patch -- Add missing includes, gcc 13 exposed
|
||||
Patch1: dynare-add-missing-include.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc%{gccver}-c++
|
||||
BuildRequires: gcc%{gccver}-fortran
|
||||
BuildRequires: gcc%{?gccver}-c++
|
||||
BuildRequires: gcc%{?gccver}-fortran
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: libboost_headers-devel
|
||||
BuildRequires: libtool
|
||||
@ -87,10 +84,7 @@ This package provides documentation for %{name} in HTML format.
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
%if 0%{?suse_version} < 1550
|
||||
export CXX=g++-%{gccver}
|
||||
export CXXFLAGS+=' -std=c++17'
|
||||
%endif
|
||||
export CXX=g++%{?gccver:-%{gccver}}
|
||||
%configure \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--disable-matlab \
|
||||
|
Loading…
Reference in New Issue
Block a user