Commit Graph

36 Commits

Author SHA1 Message Date
Tobias Markus
cc541cb750 tbb: Split into tbb_2020_3 and tbb_2021_8
This is based on PR #214762.

For the new release 2021.8, see
https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-threading-building-blocks-release-notes.html
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.5.0
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.6.0
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.7.0

Due to the significant breakage due to the update to TBB 2021.8, instead
split the tbb package into tbb_2020_3 and tbb_2021_8, with the default
tbb aliased to tbb_2020_3 in order to minimize breakage.

Also fixed build issues and improved code.

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
Co-Authored-By: davidak <git@davidak.de>
2023-03-02 11:31:56 +01:00
David Izquierdo
16edc68ccb
maintaniers: remove dizfer 2023-02-17 12:03:30 +01:00
Artturin
f386825fa2 tbb: split output
$ nix build ".#tbb" && nix path-info ".#tbb^*" --json | jq '.[] | .path, .narSize'

"/nix/store/pz9868iam3dklx9bdwhhlzjf71j27gwi-tbb-2020.3-dev"
1901872 # 1.9M
"/nix/store/rqgy93yzg9lhdnvmwbcmywa7x7asx4rg-tbb-2020.3"
563520 # 551K
2023-01-30 18:04:45 +02:00
squalus
57ad558d17 tbb: fix cross compile to aarch64 and x86_64 2022-10-25 01:28:53 -07:00
Kamil
46cf1b9781
tbb: Fix build for aarch64-darwin (#182367) 2022-07-23 23:20:15 -04:00
Sergei Trofimovich
0e1c9977e9 tbb: pull fix pending upstream inclusion for gcc-13 support
Without the change build fails on upcoming gcc-13 as:

    ../../include/tbb/task.h:300:20: error: declaration of 'tbb::task& tbb::internal::task_prefix::task()' changes meaning of 'task' [-fpermissive]
      300 |         tbb::task& task() {return *reinterpret_cast<tbb::task*>(this+1);}
          |                    ^~~~
    ../../include/tbb/task.h:252:9: note: used here to mean 'class tbb::task'
      252 |         task* next_offloaded;
          |         ^~~~
    ../../include/tbb/task.h:43:7: note: declared here
       43 | class task;
          |       ^~~~
2022-05-20 07:55:35 +01:00
Dmitry Kalinkin
55888a24cf
tbb: fix pcTemplate url 2022-01-26 22:30:01 -05:00
Jan Tojnar
d8258b513d
tbb: add pkg-config file
Gazebo does not list the tbb dependency in its pkg-config file otherwise.
2021-05-11 18:43:00 +02:00
Jan Tojnar
d2f30b0b11
pkgsMusl.tbb: fix build
Use patches from openembedded:

39185eb1d1/meta-oe/recipes-support/tbb/tbb

Also apply the patches unconditionally so that it is obvious when they do not apply any more.
2021-05-11 18:43:00 +02:00
Jan Tojnar
99396a48a5
tbb: clean up
- Drop compiler and stdver arguments – if someone needs to provide them, they can just use overrideAttrs
- Update repo source
- Narrow scope of `with lib` declaration
- Change optional → optionals
- Use one input per line
- Build on all unix platforms
- Re-order attributes
2021-05-11 18:38:24 +02:00
R. RyanTM
5ff66dca33 tbb: 2019_U9 -> 2020_U3 2021-05-11 15:24:45 +02:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Benjamin Hipple
6d216d585c tbb: fix installPhase bug skipping hooks
If you have a pre/post install hook in an overlay, it currently does not run.
2020-12-30 09:46:58 -05:00
Hannes Weisbach
1488e7d1c4 tbb: fix library install name on macOS
by adding fixDarwinDylibNames to nativeBuildInputs
2020-09-06 11:15:11 +02:00
Robin Gloster
ac8eaa8507
treewide: fix *Flags 2019-12-30 04:50:37 +01:00
R. RyanTM
886de2dd23 tbb: 2019_U8 -> 2019_U9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tbb/versions
2019-10-25 12:30:12 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
R. RyanTM
ef3d467d3d tbb: 2019_U7 -> 2019_U8
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tbb/versions
2019-06-18 17:33:02 -05:00
R. RyanTM
91b8a60661 tbb: 2019_U6 -> 2019_U7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tbb/versions
2019-06-05 18:22:57 -05:00
R. RyanTM
9f4f03798d tbb: 2019_U5 -> 2019_U6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/tbb/versions
2019-05-14 09:49:12 +02:00
Markus Kowalewski
60cdd32c40 tbb: 2018_U5 -> 2019_U5 2019-04-03 13:42:49 -05:00
Peter Simons
98f69edf83 tbb: remove myself from list of maintainers 2019-03-05 12:53:04 +01:00
R. RyanTM
75a006c32e tbb: 2018_U4 -> 2018_U5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/tbb/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 2018_U5 with grep in /nix/store/xhqkrh6rrs3ji21v1rdicm3f50j1ildx-tbb-2018_U5
- directory tree listing: https://gist.github.com/cfe37285702751a390a4ccdcf83b000e
- du listing: https://gist.github.com/ef220dc185b398311333a7d43930787a
2018-06-23 14:49:14 -05:00
R. RyanTM
91ca88b3e6 tbb: 2018_U3 -> 2018_U4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/tbb/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 2018_U4 with grep in /nix/store/bi7ml1lf51x1pvf8c9q9sg1vgyr93i10-tbb-2018_U4
- directory tree listing: https://gist.github.com/0b2f954042266f19cb4e819607e57c03
- du listing: https://gist.github.com/f115812285d438e3dc88112762777976
2018-06-14 11:44:25 -05:00
David Izquierdo
25be6fdb0e tbb: update 2018_U1 -> 2018_U3 (#41134) 2018-05-28 23:48:32 +02:00
Will Dietz
29b012e177 tbb: mallinfo patch to fix build w/musl, fix w/clang 2018-02-13 09:44:46 -06:00
Evan Wallace
49e66285b2 tbb: clang support
Added compiler and stdver parameters, to support non-gcc compilers, and enable
perfect exception forwarding (std::exception_ptr) on platforms where C++11 is not enabled by default
2017-10-29 05:21:30 +00:00
Nikolay Amiantov
c9ac187c3c tbb: 4.4-u2 -> 2018_U1, merge with libtbb
Remove libtbb derivation as a duplicate.
2017-10-29 01:51:11 +03:00
John Ericson
5aec3f96a2 treewide: Use *Platform.extensions 2017-09-13 11:16:10 -04:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Anthony Cowley
79b76d59b5 tbb: darwin compatibility
Reflects the different extension of shared library files.
2016-04-01 13:40:51 -04:00
Aristid Breitkreuz
f501e69e41 tbb: 4.2-u5 -> 4.4-u2 2015-12-01 00:11:51 +01:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Austin Seipp
d176729427 tbb: upgrade to 4.2-u5
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-06-10 13:28:34 -05:00
Peter Simons
b6325a7213 tbb: add version 4.0-u5 2012-07-18 12:44:37 +02:00