py-tensorflow: remove bazel restriction to /tmp (#22250)

This commit is contained in:
André Brandenburger 2021-03-22 16:06:05 +01:00 committed by GitHub
parent 6e3f7781d4
commit 01ea3e3469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -548,7 +548,7 @@ def setup_build_environment(self, env):
# ])
# to not be nfs. This is only valid for Linux and we'd like to
# stay at least also OSX compatible
tmp_path = tempfile.mkdtemp(dir='/tmp', prefix='spack')
tmp_path = tempfile.mkdtemp(prefix='spack')
env.set('TEST_TMPDIR', tmp_path)
env.set('TF_SYSTEM_LIBS', 'com_google_protobuf')