[libcxx-commits] [libcxx] [libcxxabi] [libunwind] [libcxx] Use %{temp} instead of %T (PR #162323)

Aiden Grossman via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 9 07:21:43 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(
----------------
boomanaiden154 wrote:

Reverted. These were just the results of running `darker`/black on the diff though due to the changes that I made to keep the formatter happy.

https://github.com/llvm/llvm-project/pull/162323


More information about the libcxx-commits mailing list