-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local actions, tmpdir: implement --local_tmp_root
flag
#4621
Comments
Thanks!
…On Mon, 12 Feb 2018 at 13:56 László Csomor ***@***.***> wrote:
Description of the problem / feature request:
Add a --local_tmp_root flag to Bazel that lets the user specify a temp
directory for locally executed actions. This compliments the feature
implemented for #3215 <#3215>
where Bazel picks up the client environment's TMPDIR envvar.
Feature requests: what underlying problem are you trying to solve with
this feature?
Allow users to put this flag in project-specific bazelrc files, so users
won't have to update their bashrc/bash_profile.
The former approach's benefits are that the information is local to a code
base, and it has local effect (as opposed to the bashrc approach).
See also #3215 (comment)
<#3215 (comment)>
What operating system are you running Bazel on?
All supported ones.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4621>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABUIF-Y9Typk-6l02OTjgeDScTwzThaPks5tUCcCgaJpZM4SCEA5>
.
|
@laszlocsomor I just tried running a test using bazel built from HEAD (I verified the change is in) when I ran it with
Am I doing something wrong?
The test passes |
@ittaiz : You're right. I'm looking into this issue. Sorry this this feature is still broken. |
Found the culprit:
This sets Observations:
TODO for me:
|
@ittaiz : For now, maybe |
Also, let me roll back 04757db for now so I'm (a) not under time pressure to fix it, and (b) can discuss with the team whether adding another flag for local temp directory control, when we already have |
@laszlocsomor sorry for the late reply but wanted to test |
btw, my 2c is that if we have test_tmpdir it's indeed really unclear if we need another flag. I'd wait for more use-cases. |
@ittaiz No worries, and cool, that's good to hear! And yes, agreed on the naming and unclear necessity too. |
I'm closing this because we already have |
Description of the problem / feature request:
Add a
--local_tmp_root
flag to Bazel that lets the user specify a temp directory for locally executed actions. This compliments the feature implemented for #3215 where Bazel picks up the client environment'sTMPDIR
envvar.Feature requests: what underlying problem are you trying to solve with this feature?
Allow users to put this flag in project-specific bazelrc files, so users won't have to update their bashrc/bash_profile.
The former approach's benefits are that the information is local to a code base, and it has local effect (as opposed to the bashrc approach).
See also #3215 (comment)
What operating system are you running Bazel on?
All supported ones.
The text was updated successfully, but these errors were encountered: