openvino: use tbbbind from onetbb instead of vendoring (#469293)
This commit is contained in:
@@ -41,12 +41,6 @@ let
|
||||
# prevent scons from leaking in the default python version
|
||||
scons' = scons.override { inherit python3Packages; };
|
||||
|
||||
tbbbind_version = "2_5";
|
||||
tbbbind = fetchurl {
|
||||
url = "https://storage.openvinotoolkit.org/dependencies/thirdparty/linux/tbbbind_${tbbbind_version}_static_lin_v4.tgz";
|
||||
hash = "sha256-Tr8wJGUweV8Gb7lhbmcHxrF756ZdKdNRi1eKdp3VTuo=";
|
||||
};
|
||||
|
||||
python = python3Packages.python.withPackages (
|
||||
ps: with ps; [
|
||||
cython
|
||||
@@ -101,14 +95,6 @@ stdenv.mkDerivation rec {
|
||||
cudaPackages.cuda_nvcc
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
mkdir -p temp/tbbbind_${tbbbind_version}
|
||||
pushd temp/tbbbind_${tbbbind_version}
|
||||
bsdtar -xf ${tbbbind}
|
||||
echo "${tbbbind.url}" > ie_dependency.info
|
||||
popd
|
||||
'';
|
||||
|
||||
dontUseSconsCheck = true;
|
||||
dontUseSconsBuild = true;
|
||||
dontUseSconsInstall = true;
|
||||
|
||||
Reference in New Issue
Block a user