2
0
mirror of https://github.com/boostorg/predef.git synced 2026-01-19 04:22:14 +00:00
Commit Graph

447 Commits

Author SHA1 Message Date
Rene Rivera
e3a87328f4 Merge branch 'develop' boost-1.76.0 boost-1.77.0.beta1 boost-1.77.0 boost-1.76.0.beta1 2021-02-13 20:33:00 -06:00
Rene Rivera
8ee83ef1aa Add notes for v1.13. 2021-02-13 12:16:24 -06:00
Rene Rivera
c9ee4eb329 Update from upstream Hash Predef. 2021-02-13 10:21:16 -06:00
Rene Rivera
cfbda6e0cc Bump to 1.13 2021-02-09 23:05:35 -06:00
Rene Rivera
d37f35e578 Add e2k arch to docs. 2021-02-09 23:00:54 -06:00
SSE4
d3460e05aa Add support for Elbrus 2000 (e2k) architecture (#116) 2021-02-09 22:52:29 -06:00
Rene Rivera
f51e4ff45e Fix bad link to libstdc++. 2021-02-09 22:49:00 -06:00
Rene Rivera
40c6205858 Fix incorrect reference to IA-64 instead of X86-64. 2021-02-09 22:31:02 -06:00
Rene Rivera
c5075828dd Release 1.12 2021-01-06 08:01:05 -06:00
Rene Rivera
caa0627ab5 Add Appveyor Windows CI back in.
fixes https://github.com/boostorg/predef/issues/59
fixes https://github.com/boostorg/predef/issues/87
2021-01-05 22:19:58 -06:00
Rene Rivera
a7ac034985 Add WORD_BITS predef detection.
fixes https://github.com/boostorg/predef/pull/107
fixes https://github.com/boostorg/predef/pull/108
2021-01-05 09:40:19 -06:00
Rene Rivera
6bcceefb48 Do info and header tests for all platforms. 2021-01-04 16:43:23 -06:00
Rene Rivera
d990549214 Fix redef of OS_BSD predef.
When a BSD sub-os header is included directly the general
OS_BSD predef is inidially defined as not-available. Which
warns as the sub-os header defines it. The fix is to unconditionally
un-def the OS_BSD predef.

fixes https://github.com/boostorg/predef/issues/111
2021-01-04 14:37:33 -06:00
Rene Rivera
e697cafd12 Fix not handling stdcxx recent versions that go above 10.x.
Fixes #112
2021-01-03 22:52:27 -06:00
brad0
99cfb298de Switch to using the endian.h header on OpenBSD. (#110)
Switch to using the endian.h header on OpenBSD.
2021-01-02 20:49:42 -06:00
Rene Rivera
17cb5b78d5 Start of 1.12 changes. 2021-01-02 17:57:43 -06:00
Rene Rivera
095faae58d Update meta info with name and cxxstd. 2021-01-02 07:22:57 -06:00
Rene Rivera
133ae86ef5 Merge branch 'develop' boost-1.75.0 boost-1.73.0 boost-1.75.0.beta1 boost-1.74.0.beta1 boost-1.74.0 boost-1.73.0.beta1 2020-03-24 21:17:05 -05:00
Rene Rivera
9c46a94ae5 Update copyright. Remove unused CI code. Upate AZP config.
(merge from hash-predef)
2020-03-24 10:25:28 -05:00
Rene Rivera
f6979bd4a7 Update history. 2020-03-24 10:09:49 -05:00
Kevin Puetz
078226b9f8 wineg++ doesn't have <ntverp.h> either (#104) 2020-02-29 20:59:29 -06:00
Rene Rivera
966707dc1f Remove deprecated HASH_PREDEF_OS_ANDROID.
Fixes #101 (merge from hash-predef)
2020-02-29 09:34:42 -06:00
Rene Rivera
c092d00770 Fix UWP detection error on WinCE.
The ntverp.h header is not avilable on Win32 WinCE, just like MinGW32.

Fixes #102 (merge from hash-predef)
2020-02-29 08:06:33 -06:00
Rene Rivera
fa099f3b2c Fix C++ version number doc.
Fixes #105 (merge from hash-predef)
2020-02-28 23:35:01 -06:00
Rene Rivera
3330514089 Merge from hash-predef. 2020-02-28 23:31:33 -06:00
Rene Rivera
aa6e232bf1 Remove deprecated Boost endian macros. 2020-01-01 16:08:28 -06:00
Rene Rivera
fb59068deb Convert documentatio to Asciidoctor. 2019-12-31 16:14:17 -06:00
Rene Rivera
fe62325d9f Fix bad checks on Boost release archive structure.
The headers on a Boost release are only present at the root. This adds that to the include search path so that the checks can also work on that structure.
boost-1.72.0.beta1 boost-1.72.0 boost-1.71.0
2019-08-12 16:21:35 -05:00
Rene Rivera
73d7b4f66f Fix bad checks on Boost release archive structure.
The headers on a Boost release are only present at the root. This adds that to the include search path so that the checks can also work on that structure.
2019-08-12 12:56:26 -05:00
Rene Rivera
29095cefd9 Start of 1.11 version. Add missing (c) for riscv.h 2019-08-04 09:20:13 -05:00
Andreas Schwab
fc99bc29cb Add detection of RISC-V from __riscv (#97) 2019-08-03 10:27:22 -05:00
Thomas Petazzoni
4bc7cc02ed Add RISC-V endian detection (#100)
boost/predef/other/endian.h has two ways of detecting the endianess:

 (1) It includes <endian.h> if BOOST_LIB_C_GNU is defined, and then
     use __BYTE_ORDER to decide the endianness.

 (2) Otherwise, if (1) was not possible for some reason, it uses
     architecture defines to decide the endianness.

(1) works perfectly fine with glibc toolchains, because
BOOST_LIB_C_GNU is defined, but it doesn't work with musl. Due to
this, <endian.h> is not included, __BYTE_ORDER is not defined, and
method (1) does not work, causing build failures on musl toolchains
that don't have explicit handling by architecture name (method 2).

So this commit fixes RISC-V musl build by adding support for the
__riscv architecture define, to determine that the endianness is
little endian.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-08-03 10:25:06 -05:00
Rene Rivera
094ac2ffdd Move to AZP for testing. 2019-04-21 22:15:17 -05:00
Rene Rivera
13de873d87 Work around Boost removing modular include dirs for release. boost-1.71.0.beta1 boost-1.70.0.beta1 boost-1.70.0 2019-03-08 18:42:27 -06:00
Rene Rivera
2e65c250f5 Update copyright date. 2019-01-21 22:33:23 -06:00
Rene Rivera
a2608f26a3 Rework ARM detection to favor versioned predefs.
This reworks the order in which the compiler predefs are checked to use
the ones that provide version info. Also add the arch predefs for older
compilers that don't define the predefs with version info for arm4,
arm5, arm6, and arm7.

Continuation of #94
2019-01-21 22:13:42 -06:00
Rene Rivera
7e31244f01 Fix bad include of sub-BSD os headers from main BSD header.
Fixes #85
2019-01-14 00:21:46 -06:00
Rene Rivera
6fea8a4b90 Fix NetBSD def name. 2019-01-13 11:56:08 -06:00
Rene Rivera
fee815d6d7 Missed release note for iOS platform type fix. 2019-01-13 09:00:06 -06:00
Rene Rivera
2e35ba95c8 Fixes use of deprecated TARGET_IPHONE_SIMULATOR.
The TARGET_IPHONE_SIMULATOR predef was deprecated in favor of
TARGET_OS_SIMULATOR. We now use both predefs to detect device vs.
simulator.

Fixes #83
2019-01-13 08:53:22 -06:00
Rene Rivera
cb4f8140f1 Add history note for B2 standalone project. 2019-01-11 22:05:53 -06:00
Rene Rivera
f2de8d8211 Another tweak for standalone and symetric build. 2019-01-11 21:36:07 -06:00
Rene Rivera
a340a52605 Add PLAT_ANDROID and deprecate OS_ANDROID.
Fixes #41 #81
2019-01-10 13:27:41 -06:00
Rene Rivera
48d9231a1b Convert build files to rootless parity with hash-predef. 2019-01-09 16:27:04 -06:00
Rene Rivera
eb682657a2 Add detection of ARM from __aarch64__ predef.
Fixes #94
2019-01-07 16:28:30 -06:00
Rene Rivera
c53294180d Refresh from Hash. 2019-01-07 08:33:58 -06:00
Rene Rivera
9ead140e5b Minor tweaks to cmake support to make hash-boost conversion easier. 2019-01-07 08:18:59 -06:00
Rene Rivera
d33798214d Cleanups of cmake build use support. 2019-01-03 21:57:47 -06:00
Mike-Devel
f862009841 [CMake] Generate cmake target that other libraries can use (#86)
Generates cmake target that other libraries can use to express
their dependency on this library and retrieve any configuration
information such as the include directory.
2019-01-02 07:26:48 -06:00
Dimitri John Ledkov
d58fcca2d5 os/linux: add more linux detection defines. (#91)
Some releases of g++, on some platforms, whilst running under some
standards, may not define neither linux, nor __linux. Add detections
for __linux__ and __gnu_linux__ for robustness.
2018-11-26 08:15:55 -06:00