build: write options to file.
These can be useful for later inspection or upload by `gist-logs` if there's a failed install and it's unclear from logs alone what options were used.
This commit is contained in:
parent
0c140f0970
commit
3396d479d2
@ -132,6 +132,8 @@ class Build
|
||||
else
|
||||
formula.prefix.mkpath
|
||||
|
||||
(formula.logs/"00.options.out").write \
|
||||
"#{formula.full_name} #{formula.build.used_options.sort.join(" ")}".strip
|
||||
formula.install
|
||||
|
||||
stdlibs = detect_stdlibs(ENV.compiler)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user