[libcxx-commits] [libcxx] [libcxxabi] [libunwind] [libcxx] Use %{temp} instead of %T (PR #162323)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 9 09:12:28 PDT 2025
================
@@ -65,19 +65,27 @@
spec_benchmarks &= no_fortran
for benchmark in spec_benchmarks:
- print(f'#--- {benchmark}.sh.test')
- print(f'RUN: rm -rf %T') # clean up any previous (potentially incomplete) run
- print(f'RUN: mkdir %T')
- print(f'RUN: cp {spec_config} %T/spec-config.cfg')
- print(f'RUN: %{{spec_dir}}/bin/runcpu --config %T/spec-config.cfg --size train --output-root %T --rebuild {benchmark}')
- print(f'RUN: rm -rf %T/benchspec') # remove the temporary directory, which can become quite large
+ print(f"#--- {benchmark}.sh.test")
+ print(f"RUN: rm -rf %{temp}") # clean up any previous (potentially incomplete) run
+ print(f"RUN: mkdir %{temp}")
+ print(f"RUN: cp {spec_config} %{temp}/spec-config.cfg")
+ print(
----------------
ldionne wrote:
Yeah, I know. We mostly don't abide by `dark` in libc++. We should, but the line limit is an absolute catastrophe.
https://github.com/llvm/llvm-project/pull/162323
More information about the libcxx-commits
mailing list