Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dynare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Camilo Marchesini
dynare
Commits
ac0339c2
Verified
Commit
ac0339c2
authored
Sep 03, 2019
by
Sébastien Villemot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows package: add x13as
parent
bae1fa25
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
5 deletions
+55
-5
windows/build.sh
windows/build.sh
+4
-0
windows/deps/Makefile
windows/deps/Makefile
+44
-5
windows/deps/versions.mk
windows/deps/versions.mk
+1
-0
windows/dynare.nsi
windows/dynare.nsi
+6
-0
No files found.
windows/build.sh
View file @
ac0339c2
...
...
@@ -261,6 +261,10 @@ mkdir "$ZIPDIR"/mex
cp
-pr
mex/octave/
"
$ZIPDIR
"
/mex
cp
-pr
mex/matlab/
"
$ZIPDIR
"
/mex
cp
-pr
matlab
"
$ZIPDIR
"
mkdir
-p
"
$ZIPDIR
"
/matlab/modules/dseries/externals/x13/windows/32
cp
-p
windows/deps/lib32/x13as/x13as.exe
"
$ZIPDIR
"
/matlab/modules/dseries/externals/x13/windows/32
mkdir
-p
"
$ZIPDIR
"
/matlab/modules/dseries/externals/x13/windows/64
cp
-p
windows/deps/lib64/x13as/x13as.exe
"
$ZIPDIR
"
/matlab/modules/dseries/externals/x13/windows/64
cp
-pr
examples
"
$ZIPDIR
"
cp
-pr
scripts
"
$ZIPDIR
"
mkdir
"
$ZIPDIR
"
/dynare++
...
...
windows/deps/Makefile
View file @
ac0339c2
...
...
@@ -26,20 +26,21 @@ WGET_OPTIONS := --no-verbose --no-use-server-timestamps --retry-connrefused --re
clean-gsl-src clean-gsl-tar clean-gsl-all clean-libgsl
\
clean-slicot-src clean-slicot-tar clean-slicot-all clean-libslicot
\
clean-matio-src clean-matio-tar clean-matio-all clean-libmatio
\
clean-zlib-src clean-zlib-tar clean-zlib-src clean-libzlib
\
clean-zlib-src clean-zlib-tar clean-zlib-src clean-libzlib
\
clean-x13as-tar clean-x13as-src clean-x13as-bin clean-x13as-all
\
clean-src clean-all clean-lib clean-tar
\
build build-openblas build-slicot build-matio build-boost build-gsl
\
octave matlab mingw
all
:
build octave matlab mingw
build
:
build-openblas build-slicot build-matio build-boost build-gsl
build
:
build-openblas build-slicot build-matio build-boost build-gsl
build-x13as
clean-lib
:
clean-libopenblas clean-libgsl clean-libzlib clean-libmatio clean-libslicot clean-libboost clean-matlab clean-octave clean-mingw
clean-lib
:
clean-libopenblas clean-libgsl clean-libzlib clean-libmatio clean-libslicot clean-libboost clean-matlab clean-octave clean-mingw
clean-x13as-bin
clean-src
:
clean-openblas-src clean-boost-src clean-gsl-src clean-matio-src clean-slicot-src clean-zlib-src
clean-src
:
clean-openblas-src clean-boost-src clean-gsl-src clean-matio-src clean-slicot-src clean-zlib-src
clean-x13as-src
clean-tar
:
clean-openblas-tar clean-boost-tar clean-gsl-tar clean-matio-tar clean-slicot-tar clean-zlib-tar
clean-tar
:
clean-openblas-tar clean-boost-tar clean-gsl-tar clean-matio-tar clean-slicot-tar clean-zlib-tar
clean-x13as-tar
clean-all
:
clean-lib clean-src clean-tar
...
...
@@ -451,3 +452,41 @@ clean-mingw:
rm
-rf
mingw64
rm
-f
tarballs/mingw-w64-i686-
*
.tar.xz
rm
-f
tarballs/mingw-w64-x86_64-
*
.tar.xz
#
# X13AS
#
tarballs/x13assrc_V$(X13AS_VERSION).tar.gz
:
mkdir
-p
tarballs
wget
$(WGET_OPTIONS)
-O
$@
https://www.census.gov/ts/x13as/unix/x13assrc_V
$(X13AS_VERSION)
.tar.gz
sources%/x13as-$(X13AS_VERSION)
:
tarballs/x13assrc_V$(X13AS_VERSION).tar.gz
mkdir
-p
$@
tar
xf
$<
--directory
$@
lib32/x13as/x13as.exe
:
sources32/x13as-$(X13AS_VERSION)
make
-C
$<
-f
makefile.gf
FC
=
i686-w64-mingw32-gfortran
LINKER
=
i686-w64-mingw32-gfortran
FFLAGS
=
"-O2"
PROGRAM
=
x13as.exe
i686-w64-mingw32-strip
$<
/x13as.exe
mkdir
-p
$(
dir
$@
)
cp
$<
/x13as.exe
$@
lib64/x13as/x13as.exe
:
sources64/x13as-$(X13AS_VERSION)
make
-C
$<
-f
makefile.gf
FC
=
x86_64-w64-mingw32-gfortran
LINKER
=
x86_64-w64-mingw32-gfortran
FFLAGS
=
"-O2"
PROGRAM
=
x13as.exe
x86_64-w64-mingw32-strip
$<
/x13as.exe
mkdir
-p
$(
dir
$@
)
cp
$<
/x13as.exe
$@
build-x13as
:
lib32/x13as/x13as.exe lib64/x13as/x13as.exe
clean-x13as-tar
:
rm
-f
tarballs/x13assrc_V
$(X13AS_VERSION)
.tar.gz
clean-x13as-src
:
rm
-rf
sources32/x13as-
$(X13AS_VERSION)
rm
-rf
sources64/x13as-
$(X13AS_VERSION)
clean-x13as-bin
:
rm
-rf
lib32/x13as lib64/x13as
clean-x13as-all
:
clean-x13as-tar clean-x13as-src clean-x13as-bin
windows/deps/versions.mk
View file @
ac0339c2
...
...
@@ -4,6 +4,7 @@ MATIO_VERSION = 1.5.15
OPENBLAS_VERSION
=
0.3.6
SLICOT_VERSION
=
5.0+20101122
ZLIB_VERSION
=
1.2.11
X13AS_VERSION
=
1.1_B39
OCTAVE_VERSION
=
5.1.0
OCTAVE_W32_BUILD
=
...
...
windows/dynare.nsi
View file @
ac0339c2
...
...
@@ -58,6 +58,12 @@ Section "Dynare core (preprocessor and M-files)"
SetOutPath $INSTDIR\matlab\preprocessor64
File ..\matlab\preprocessor64\dynare_m.exe
SetOutPath $INSTDIR\matlab\modules\dseries\externals\x13\windows\32
File deps\lib32\x13as\x13as.exe
SetOutPath $INSTDIR\matlab\modules\dseries\externals\x13\windows\64
File deps\lib64\x13as\x13as.exe
SetOutPath $INSTDIR\contrib
File /r ..\contrib\*.m
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment