diff --git a/checks/architecture/Jamroot.jam b/checks/architecture/Jamroot.jam index ca653b75..03f59534 100644 --- a/checks/architecture/Jamroot.jam +++ b/checks/architecture/Jamroot.jam @@ -19,5 +19,6 @@ obj arm : arm.cpp ; obj combined : combined.cpp ; obj mips1 : mips1.cpp ; obj power : power.cpp ; +obj riscv : riscv.cpp ; obj sparc : sparc.cpp ; obj x86 : x86.cpp ; diff --git a/checks/architecture/riscv.cpp b/checks/architecture/riscv.cpp new file mode 100644 index 00000000..55f37796 --- /dev/null +++ b/checks/architecture/riscv.cpp @@ -0,0 +1,9 @@ +// riscv.cpp +// +// Distributed under the Boost Software License Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#if !defined(__riscv) +#error "Not RISC-V" +#endif diff --git a/include/boost/version.hpp b/include/boost/version.hpp index 98ce61a1..912a59c8 100644 --- a/include/boost/version.hpp +++ b/include/boost/version.hpp @@ -19,7 +19,7 @@ // BOOST_VERSION / 100 % 1000 is the minor version // BOOST_VERSION / 100000 is the major version -#define BOOST_VERSION 107000 +#define BOOST_VERSION 107100 // // BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION @@ -27,6 +27,6 @@ // number, y is the minor version number, and z is the patch level if not 0. // This is used by to select which library version to link to. -#define BOOST_LIB_VERSION "1_70" +#define BOOST_LIB_VERSION "1_71" #endif