[lld] r345980 - Revert "Change the timestamp of llvmcache-foo file to meet the thinLTO prune policy"
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 2 08:22:19 PDT 2018
Author: tejohnson
Date: Fri Nov 2 08:22:19 2018
New Revision: 345980
URL: http://llvm.org/viewvc/llvm-project?rev=345980&view=rev
Log:
Revert "Change the timestamp of llvmcache-foo file to meet the thinLTO prune policy"
This reverts commit r345977.
A few bots failing because the invocation of "touch" is not accepted on
a couple other OSes. Specifically the -d argument is not accepted or requires
a different format.
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/27103/steps/test_lld/logs/stdio
http://lab.llvm.org:8011/builders/lld-x86_64-freebsd/builds/24974/steps/test_lld/logs/stdio
Modified:
lld/trunk/test/ELF/lto/cache.ll
lld/trunk/test/wasm/lto/cache.ll
Modified: lld/trunk/test/ELF/lto/cache.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/cache.ll?rev=345980&r1=345979&r2=345980&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/cache.ll (original)
+++ lld/trunk/test/ELF/lto/cache.ll Fri Nov 2 08:22:19 2018
@@ -19,10 +19,6 @@
; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=128k:prune_interval=0s -o %t3 %t2.o %t.o
; RUN: ls %t.cache | count 5
-; Increase the age of llvmcache-foo, which will give it the oldest time stamp
-; so that it is processed and removed first.
-; RUN: touch -r %t.cache/llvmcache-foo -d '-2 minutes' %t.cache/llvmcache-foo
-
; This should remove it.
; RUN: ld.lld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=32k:prune_interval=0s -o %t3 %t2.o %t.o
; RUN: ls %t.cache | count 4
Modified: lld/trunk/test/wasm/lto/cache.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/lto/cache.ll?rev=345980&r1=345979&r2=345980&view=diff
==============================================================================
--- lld/trunk/test/wasm/lto/cache.ll (original)
+++ lld/trunk/test/wasm/lto/cache.ll Fri Nov 2 08:22:19 2018
@@ -17,10 +17,6 @@
; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=128k:prune_interval=0s -o %t.wasm %t2.o %t.o
; RUN: ls %t.cache | count 5
-; Increase the age of llvmcache-foo, which will give it the oldest time stamp
-; so that it is processed and removed first.
-; RUN: touch -r %t.cache/llvmcache-foo -d '-2 minutes' %t.cache/llvmcache-foo
-
; This should remove it.
; RUN: wasm-ld --thinlto-cache-dir=%t.cache --thinlto-cache-policy cache_size_bytes=32k:prune_interval=0s -o %t.wasm %t2.o %t.o
; RUN: ls %t.cache | count 4
More information about the llvm-commits
mailing list