Commit Graph

70 Commits

Author SHA1 Message Date
Julien Schueller 3ce017b270 Travis: Run tests via wine 2020-07-13 17:57:19 +02:00
Julien Schueller 860f9dda96 Enable c++11 standard everywhere 2020-07-13 17:57:19 +02:00
Julien Schueller 100e489fe3 Drop mingw i686 2020-07-13 17:57:19 +02:00
Julien Schueller 84c0b4055e Build Python 2020-07-13 17:57:19 +02:00
Julien Schueller faab196203 Update to 2020.2
Closes #63
2020-07-13 17:57:19 +02:00
Marian Klymov ddbe45cd3a Export config for shared TBB. (#57) 2020-07-06 00:49:18 +02:00
Lanyi ae1c31a52a Ignore generated .def file (#59)
Currently `src/tbb/win32-gcc-tbb-export.def` will be generated (by copying from linux `.def` file) because it did not exist.
https://github.com/wjakob/tbb/blob/20357d83871e4cb93b2c724fe0c337cd999fd14f/CMakeLists.txt#L209

That will cause git to flag an untracked file, this proposed change will stop git from showing the untracked changes.

Probably it would be better to copy this file to the build directory instead of source directory, but I didn't looked too deep into the cmakelists file. If that happens, then we can revert this .gitignore back.
2020-07-06 00:42:26 +02:00
xantares 56b5ea91ee Exclude tbb_bind.cpp for v2020 (#62)
This file is used for a new sub-library linked to hwloc
2020-07-06 00:42:02 +02:00
Marian Klymov 20357d8387 Install PDB for shared configuration. (#56) 2019-11-04 16:11:01 +01:00
Pau Argelaguet 344fa84f34 Build system / CI fixes
- Adding directory on appveyor config
- windows test timeout to 1000
- disabling timeout tests on windows
2019-06-19 13:10:20 +02:00
Pau Argelaguet 5bfa9c503c Updating to 2019 U6 2019-06-19 13:08:46 +02:00
Wenzel Jakob b066defc02 bump cmake requirement to 3.1, add INTERFACE header declaration 2018-11-12 02:15:17 +01:00
speedskater c604f07c68 Added export for include directory (#40)
To be able to use tbb in another project (in my case it is a header only library) it is important to export the include directory as well.
2018-11-12 02:12:26 +01:00
Juul d5efef4698 Fix static link issues for linking into dll (#41)
When building the static libs for tbb and linking them into another project, the build of the libs had various defines wrongly set; which resulted in various linker warnings. This changelist includes the fixes for the properties related to the static build of tbb.
2018-11-12 02:10:45 +01:00
Wenzel Jakob 6c9faad2aa updated to TBB 2019 Update 2 2018-11-12 01:50:49 +01:00
Wenzel Jakob 80b737eeb2 TBB: C++17 fix 2018-11-01 20:58:21 +01:00
Jérémie Dumas 08b4341a18 Cache config date (#47). (#48)
* Cache config date (#47).

* Merge if branches.
2018-08-20 08:37:02 -07:00
Wenzel Jakob 4c3ffe5a5f Set CMake policy CMP0068 to NEW to quench warnings 2018-04-28 18:08:06 +02:00
Stephen McDowell c19593b683 accommodate CMake policy CMP0048 (#45) 2018-03-18 14:44:06 +01:00
Hannes Hergeth a0dc9bf76d Build directories with spaces lead to linker errors because the module definition file path was not passed completely. Fixed by embedding paths in quotes. (#44) 2018-02-09 11:05:05 +01:00
Wenzel Jakob 2c5ef7d9d4 stricter test for -mrtm flag 2017-09-12 00:57:10 +02:00
Wenzel Jakob 11ba6629dd minor clarification for README.md
[ci skip]
2017-08-29 20:23:37 +02:00
Wenzel Jakob c28c8bec52 ability to disable certain tests on AppVeyor/Travis CI 2017-08-24 13:48:57 +02:00
Wenzel Jakob 2a483deb85 work around test suite compilation issues on MSVC2017 2017-08-23 23:36:40 +02:00
Wenzel Jakob 391e6e01e4 upgrade appveyor builds to MSVC 2017 2017-08-23 23:05:22 +02:00
Wenzel Jakob ebaf68aa14 comment about changed/additional files 2017-08-23 22:23:57 +02:00
Wenzel Jakob 43c595a21d armv7 (32-bit) & aarch64 support, minor cmake tweaks 2017-08-23 22:08:08 +02:00
Nekto89 2e1759a5ef Made possible to specify different folders for install. (#36) 2017-08-23 21:52:08 +02:00
Wenzel Jakob 4c6c70969e Clang: only use libc++ if the compiler can produce a working executable. 2017-08-23 21:50:48 +02:00
Wenzel Jakob 25dce856e8 update to TBB 2017 Update 7 2017-08-23 21:35:22 +02:00
Wenzel Jakob 615d690c16 removed debug postfix
Build-specific postfixes are a relic of build systems that place
binaries from multiple different build types into the same output
directory. This is needlessly confusing and not necessary for
CMake-based build systems, since they either use a fixed build type
(Linux: Ninja, Makefile generators) or separate configurations with
different output directories (MSVC).
2017-04-10 15:35:54 +02:00
Wenzel Jakob d2440ca306 detect when CMAKE_SIZEOF_P is not defined 2017-04-06 00:21:58 +02:00
Wenzel Jakob f164f13c81 reverted PR #33, removed APPLE/UNIX test from -flifetime-dse parameter 2017-03-15 19:14:42 +01:00
David Kaufman 3704e4c866 fix segfault running tbb build with gcc 6 (#33) 2017-03-15 00:43:14 +01:00
David Kaufman 161fd9381e link tbb_static against pthread and dl on linux (#32) 2017-03-15 00:40:05 +01:00
Andrey M. Mishchenko 4f867c82e7 Fix TBB_BUILD_TESTS option (#31)
* Fix TBB_BUILD_TESTS option

- If TBB_BUILD_TESTS is set to ON, then actually build the unit test
  binaries. Previously, the binaries' executable targets would be
  defined in CMakeLists.txt, but set to EXCLUDE_FROM_ALL, which would
  cause ctest to fail.
- Prefix all TBB test binaries and test names with tbb_test. Previously,
  very generic-sounding test names and executable target names would be
  created, which is IMO bad behavior in a repository meant to be used as
  a library.
- Clean up some style formatting for consistency in root CMakeLists.txt.

* Fix .appveyor.yml and .travis.yml to not refer to now-deleted tests build target
2017-03-06 19:52:11 +01:00
Wenzel Jakob 8e962f3b31 fix AppVeyor debug mode (account for '_debug' suffix) 2017-03-06 16:26:49 +01:00
Wenzel Jakob 31f6926095 license and version badges (fixes #26) 2017-03-01 18:12:31 +01:00
Wenzel Jakob 2586714073 disabled implicit linkage on MSVC (fixes #29) 2017-03-01 18:09:23 +01:00
Wenzel Jakob 5eb228a214 update to TBB 2017 Update 3 2017-02-22 15:04:45 +01:00
Wenzel Jakob fd48e97895 Merge pull request #28 from rickyzhang82/pr-fix-cmake-compiler-id
Fix GCC 6.X, dead store elimination (DSE) optimises away memset
2016-12-28 12:10:53 +01:00
Ricky Zhang c8a81c8a25 Fix GCC 6.X, dead store elimination (DSE) optimises away memset in allocate_scheduler, causes run-time errors
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
2016-12-27 14:22:21 -05:00
Wenzel Jakob e6a4ccc909 further travis-CI fixes 2016-10-22 19:25:48 -04:00
Wenzel Jakob ae4a3d0ac6 bump cmake version requirement 2016-10-22 19:11:28 -04:00
Wenzel Jakob 550c18b113 make flifetime-dse argument optional 2016-10-22 18:43:42 -04:00
Wenzel Jakob ccc153a2d8 linux: always link to dl and pthread 2016-10-22 15:56:19 -04:00
Wenzel Jakob c2508556a9 travis-ci: use newer cmake 2016-10-22 15:46:19 -04:00
Wenzel Jakob b3078a43c2 make 'pthread' and 'dl' public dependencies of 'tbb' (needed for gold linker on Linux) 2016-09-29 12:05:42 +02:00
Wenzel Jakob 848cd19f79 always use libc++ when Clang is set as the compiler
This flag also sets -D_LIBCPP_VERSION, which ensures that various
ifdef (_LIBCPP_VERSIONS) in tbb_config.h are triggered even when no
libc++ header is included yet.
2016-09-28 22:38:01 +02:00
Wenzel Jakob 531dc2e249 quench a warning on Clang 2016-09-28 22:37:33 +02:00