Commit Graph
393 Commits
Author SHA1 Message Date
Benjamin Worpitz 07df9dd360 Always define BOOST_COMP_NVCC instead of BOOST_COMP_NVCC_EMULATED (#84)
Currently BOOST_COMP_NVCC is never set but always BOOST_COMP_NVCC_EMULATED
because the NVCC preprocessor emulates the host compiler being used
(gcc/clang/msvc/...) which are detected earlier.

The nvcc compilation process is somewhat special as can be read here:
https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html#cuda-compilation-trajectory
The nvcc compiler precompiles the input two times. Once for the device code
being compiled by the cicc device compiler and once for the host code
compiled by the real host compiler. NVCC uses gcc/clang/msvc/...
depending on the host compiler being set on the command line.

Predef (as a preprocessor only lib) detects the one doing the preprocessing
as compiler and expects it to be the one doing the real compilation.
This is not true for NVCC which is only doing the preprocessing and which
is using another compiler for parts of its work. So for NVCC it should be
allowed to set BOOST_COMP_NVCC additionally to the already detected host
compiler because both is true: It is gcc/clang/... compiling the code, but it
is also NVCC doing th preprocessing and adding some other quirks you may
want to detect.

This behavior is similar to what boost config is doing in `select_compiler_config.hpp`.
There the NVCC detection is not handled as a real compiler (part of the
#if-#elif) but as additional option before the real compiler.
2018-08-30 14:41:44 -05:00
Rene Rivera d8f410b4d0 Live patch project during CI testing. 2018-08-26 10:32:47 -05:00
Rene Rivera 759400b413 Rebase from hash-predef source. 2018-08-25 23:36:20 -05:00
Rene Rivera 560ff5298e Bump version, add history. boost-1.68.0 2018-06-23 21:37:05 -05:00
Rene Rivera 75b04d80e7 Avoid local project-config in git. 2018-06-23 17:28:51 -05:00
Rene Rivera bb82002af6 Merge branch 'develop' 2018-06-23 16:34:17 -05:00
Tim Blechmann 5d8818ddcb architecture: add support for __ARM_ARCH macro (#74)
gcc-6 defines __ARM_ARCH
2018-06-12 07:40:29 -05:00
Benjamin Worpitz 11569d270c add detection for PTX architecture (#73) 2018-06-12 07:39:43 -05:00
Rene Rivera c8c0134926 Don't test Appveyor PR branch. (#79)
Another PR test.
2018-05-16 07:19:08 -05:00
Rene Rivera c37ef8b959 Remove clang-6, as PR test. (#78) 2018-05-15 09:36:27 -05:00
Rene Rivera aba0bb4470 Need full recursive rmdir as it might not be empty. 2018-05-14 23:21:10 -05:00
Rene Rivera 02d09e78b6 Fix typo on ci script call. 2018-05-14 23:12:18 -05:00
Rene Rivera 7c0c1f2cb0 Don't do git command on lib dir, and add latest clangs. 2018-05-14 23:07:07 -05:00
Rene Rivera d7bad38b5d Make the lib test generic to main or PRs. 2018-05-14 22:59:34 -05:00
Rene Rivera 9e73c55298 Switch to local CI scripts to make progress on CI errors. 2018-05-13 22:59:56 -05:00
Benjamin Worpitz 7a4ca9dc90 add nvcc compiler detection (#72) 2018-05-13 10:22:00 -05:00
Benjamin Worpitz e8681a9b37 Add support for detecting CUDA (#71)
* add support for detecting CUDA
* add test for new make macro
2018-05-13 10:21:13 -05:00
Peter Kolbus 9e31c6455c Remove undefined BOOST_ARCH_AMD64 (#75)
Remove reference to BOOST_ARCH_AMD64 as it has not been defined since commit b10e3490e.
2018-05-13 10:19:21 -05:00
James E. King III 0bccaa9ead issue-76: fix syntax error in jamfile (#77) 2018-05-13 10:17:57 -05:00
Rene Rivera c8c26821b9 Merge remote-tracking branch 'origin/develop' boost-1.66.0 boost-1.67.0 2017-11-10 09:01:39 -06:00
James E. King, III 5e8f5d5a4b properly obtain the FreeBSD version (BOOST_OS_BSD_FREE) (#69) 2017-11-10 07:04:25 -06:00
James E. King, III 74f88005cc rename library/c/cloudlibc.h to library/c/cloudabi.h (#68)
fix typo in cloudlibc detection
2017-11-09 22:48:35 -06:00
James E. King, III 4a230ebe85 add detection for OpenBSD 5.x and 6.x (#67)
This fixes #66
2017-11-08 23:01:35 -06:00
Rene Rivera e62a9c68b1 Merge remote-tracking branch 'origin/develop' 2017-10-25 13:44:21 -05:00
Rene Rivera e31d12f25d Fix typo in header guard. 2017-10-25 12:32:20 -05:00
Rene Rivera 2bba31c5f4 Merge remote-tracking branch 'origin/develop' 2017-10-24 07:30:44 -05:00
Rene Rivera e87cef64fe History note for CloudABI/LIB addition. 2017-10-23 17:07:20 -05:00
James E. King, III 6f8a9ae440 platform detection for CloudABI with cloudlibc detection (#65) 2017-10-23 13:54:01 -05:00
Rene Rivera a7cdea8faf Merge branch 'develop' of https://github.com/boostorg/predef into
develop

Conflicts:
	include/boost/predef/platform/windows_runtime.h
	include/boost/predef/platform/windows_uwp.h
2017-10-23 09:34:04 -05:00
Rene Rivera 1c0b55c2f9 Some tweak for 1.7 release.
* Bump version to 1.7
* Tweak docs for UWP detection.
* Add 1.7 history items.
2017-10-23 09:25:43 -05:00
James E. King, III 0ab200d19e make BOOST_PLAT_WINDOWS_DESKTOP available in older SDKs for backwards compatibility (#64) 2017-10-18 07:00:02 -05:00
James E. King, III 7c17b932e4 detect mingw32 and mingw64 as separate entities (#61) 2017-10-16 18:41:33 -05:00
Roki de79c6d341 fix typo s/BOOST_ARCH_PARISK/BOOST_ARCH_PARISC (#63) 2017-10-11 08:16:56 -05:00
Rene Rivera 7c99dfbbd5 Revert "isolate all headers to ensure that none rely on inclusions from another (#60)" (#62)
This reverts commit 284cde95a2.
2017-10-04 14:13:28 -05:00
James E. King, III 284cde95a2 isolate all headers to ensure that none rely on inclusions from another (#60) 2017-10-04 10:20:45 -05:00
James E. King, III bca18299d2 correct Windows UWP platform detection (#57) 2017-10-03 20:36:17 -05:00
Edward Diener aa4604a3bd Remove executable attribute from file. (#53) 2017-09-17 09:21:38 -05:00
Rene Rivera ba45bd73f3 Seems we need to avoid duplicate project names. 2017-08-01 12:24:55 -05:00
Rene Rivera ada62932d0 Merge remote-tracking branch 'origin/develop' boost-1.65.1 boost-1.65.0 2017-06-27 21:21:56 -05:00
Rene Rivera 6a24a3a4bb Changes for version 1.6. 2017-06-05 09:14:37 -05:00
Rene Rivera 9afb15401b Handle Intel version 9999 == 12.1.0 (fixes #38). 2017-06-05 09:09:13 -05:00
Rene Rivera 0d9d5591da Merge branch 'develop' of https://github.com/boostorg/predef.git into develop 2017-06-01 22:31:30 -05:00
Rene Rivera db499c07df Add WORKAROUND style definitions for public use. 2017-06-01 22:31:09 -05:00
Rene Rivera 9f6191e0bc Merge pull request #50 from gongminmin/develop
Adds support for MSVC ARM64 target.
2017-06-01 07:03:32 -05:00
Minmin Gong 4c822c49c2 Adds support for MSVC ARM64 target. 2017-06-01 00:08:56 -07:00
Rene Rivera f109e20ad1 Fix missing non-detection test for new iOS platform. 2017-05-28 23:31:06 -05:00
Rene Rivera d81ab5cc34 Merge pull request #49 from ruslo/pr.ios
Detect iOS simulator/device
2017-05-28 21:20:00 -05:00
Rene Rivera cda33c33d9 Try mingw testing again. 2017-05-28 16:39:29 -05:00
Rene Rivera 6dfdf9d4dd Add testing with language flags. 2017-05-28 15:53:55 -05:00
Rene Rivera 5e76979e05 No MinGW for now, as it fails for some unknown reason. 2017-05-28 13:59:25 -05:00