diff --git a/macOS/build.sh b/macOS/build.sh index 257bcaf2f..9d08741ff 100755 --- a/macOS/build.sh +++ b/macOS/build.sh @@ -1,5 +1,22 @@ #!/usr/bin/env bash +# Copyright © 2019 Dynare Team +# +# This file is part of Dynare. +# +# Dynare is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Dynare is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Dynare. If not, see . + set -ex # Set the number of threads diff --git a/preprocessor b/preprocessor index 1fcd30501..93077bbcd 160000 --- a/preprocessor +++ b/preprocessor @@ -1 +1 @@ -Subproject commit 1fcd305015c77b93ca2110efc749dbfd72dfe3ba +Subproject commit 93077bbcdda14849a88d7e60366e93211cb7c533 diff --git a/tests/example1_macro.mod b/tests/example1_macro.mod index 0d95d40bb..9d547fa8c 100644 --- a/tests/example1_macro.mod +++ b/tests/example1_macro.mod @@ -207,7 +207,10 @@ stoch_simul; @#error "Cast error" @#endif -@#if -3:-1.5:3 != [] || 3:-1:-0.1 != [3, 2, 1, 0] +@#if -3:-1.5:3 != [] || 3:-1:-0.1 != [3, 2, 1, 0] \\ + || 1:1 != [1] || 1:0:1 != [] \\ + || -1:5:-1 != [-1] || -1:-5:-1 != [-1] \\ // Inline comment + || 0:0:0 != [] || 0:0 != [0] @#error "Range error" @#endif diff --git a/windows/deps/Makefile b/windows/deps/Makefile index d59ad0636..6723ed975 100644 --- a/windows/deps/Makefile +++ b/windows/deps/Makefile @@ -52,70 +52,70 @@ sources32/slicot-$(SLICOT_VERSION)-without-underscore: tarballs/slicot-$(SLICOT_ rm -rf sources32/slicot-*-without-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-32-without-underscore.patch + touch $@ sources32/slicot-$(SLICOT_VERSION)-with-underscore: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources32/slicot-*-with-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-32-with-underscore.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-32bit-integer: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-32bit-integer mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-32bit-integer.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-64bit-integer: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-64bit-integer mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-64bit-integer.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-32bit-integer-and-underscore: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-32bit-integer-and-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-32bit-integer-and-underscore.patch + touch $@ sources64/slicot-$(SLICOT_VERSION)-with-64bit-integer-and-underscore: tarballs/slicot-$(SLICOT_VERSION).tar.gz rm -rf sources64/slicot-*-with-64bit-integer-and-underscore mkdir -p $@ tar xf $< --directory $@ --strip-components=1 - patch $@/make.inc < patches/slicot-64-with-64bit-integer-and-underscore.patch + touch $@ lib32/Slicot/without-underscore/lib/libslicot_pic.a: sources32/slicot-$(SLICOT_VERSION)-without-underscore - make -C $< lib + make -C $< lib SLICOTLIB=../libslicot_pic.a OPTS="-O2 -g -fno-underscoring" FORTRAN=i686-w64-mingw32-gfortran LOADER=i686-w64-mingw32-gfortran ARCH=i686-w64-mingw32-ar i686-w64-mingw32-strip --strip-debug $