diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-03-27 22:35:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 21:35:13 -0500 |
commit | aed516ad56c855afa65a8aea847fdf64330e797e (patch) | |
tree | 4455043fc591ef2e3758404e0a5cc8b43dc97b6a /var | |
parent | 829bfb578814d076000d6d0ad8339143322e28ee (diff) | |
download | spack-aed516ad56c855afa65a8aea847fdf64330e797e.tar.gz spack-aed516ad56c855afa65a8aea847fdf64330e797e.tar.bz2 spack-aed516ad56c855afa65a8aea847fdf64330e797e.tar.xz spack-aed516ad56c855afa65a8aea847fdf64330e797e.zip |
TensorFlow: let install take care of the headers (#15718)
* TensorFlow: let install take care of the headers
we don't need to manually install them.
* no longer need to import glob
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-tensorflow/package.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-tensorflow/package.py b/var/spack/repos/builtin/packages/py-tensorflow/package.py index 0444a2e09a..64b97b05b2 100644 --- a/var/spack/repos/builtin/packages/py-tensorflow/package.py +++ b/var/spack/repos/builtin/packages/py-tensorflow/package.py @@ -3,7 +3,6 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) -from glob import glob import sys @@ -699,14 +698,6 @@ class PyTensorflow(Package, CudaPackage): setup_py('install', '--prefix={0}'.format(prefix), '--single-version-externally-managed', '--root=/') - site_packages_dir = join_path( - prefix.lib, - ('python' + str(self.spec['python'].version.up_to(2))), - 'site-packages') - fn = glob(join_path(site_packages_dir, "tensorflow-*")) - incpath = join_path(fn[0], "tensorflow/include") - setup_py('install_headers', '--install-dir={0}'.format(incpath)) - @run_after('install') @on_package_attributes(run_tests=True) def import_module_test(self): |