From ee086e2f2c5766fb20534e3461a1e5507c565a00 Mon Sep 17 00:00:00 2001 From: Bjorn Date: Wed, 22 Apr 2020 14:12:12 +0200 Subject: [PATCH] New AnyODE (#40) * New AnyODE * g++-10 --- .drone.yml | 5 +++-- external/anyode | 2 +- tests/Makefile | 16 +++++++++++++++- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index e56bdce..69172a8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,13 +5,14 @@ clone: external/anyode: git://github.com/bjodah/anyode.git build: - image: bjodah/bjodahimg20dev:v1.0.2 + image: bjodah/bjodahimg20dev:v1.1.0 environment: + - CC=gcc-10 + - CXX=g++-10 - ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-10/bin/llvm-symbolizer - ASAN_OPTIONS=symbolize=1 - CPLUS_INCLUDE_PATH=/opt/boost_1_72_p/include commands: - - strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 # stackoverflow.com/questions/54582864/ - ./scripts/ci.sh pyodeint - ./scripts/prepare_deploy.sh - bash -c '[[ $(python3 setup.py --version) =~ ^[0-9]+.* ]]' diff --git a/external/anyode b/external/anyode index 278d701..ce9db8c 160000 --- a/external/anyode +++ b/external/anyode @@ -1 +1 @@ -Subproject commit 278d70106a940e9adceeb88ee1f6b8f92a9fdb6b +Subproject commit ce9db8c91adf036657219a3cdf3c251483a3f0f7 diff --git a/tests/Makefile b/tests/Makefile index aed70a4..cac1bee 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,6 +1,20 @@ CXX ?= g++ LIBS ?=-lm -CXXFLAGS ?= -std=c++11 -Wall -Wextra -Werror -pedantic -g -ggdb -O0 +WARNINGS ?= \ +-Wall \ +-Wextra \ +-Wredundant-decls \ +-Wcast-align \ +-Wmissing-include-dirs \ +-Wswitch-enum \ +-Wswitch-default \ +-Winvalid-pch \ +-Wredundant-decls \ +-Wformat=2 \ +-Wmissing-format-attribute \ +-Wformat-nonliteral \ +-Wodr +CXXFLAGS ?= -std=c++11 $(WARNINGS) -Werror -pedantic -g -ggdb -O0 #-D_GLIBCXX_DEBUG CXXFLAGS += $(EXTRA_FLAGS) INCLUDE ?= -I../pyodeint/include -I../external/anyode/include