summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2018-11-02 15:22:19 +0000
committerTeresa Johnson <tejohnson@google.com>2018-11-02 15:22:19 +0000
commit366d7285a1044ef3892412de51fc1dd1fb3fd925 (patch)
tree61a09b677db08b5709f5c96a69665b3236953bf3
parent8f810c3cdcc8ee4892889e9f0a8bb3e8fa52f6fd (diff)
downloadbcm5719-llvm-366d7285a1044ef3892412de51fc1dd1fb3fd925.tar.gz
bcm5719-llvm-366d7285a1044ef3892412de51fc1dd1fb3fd925.zip
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 llvm-svn: 345980
-rw-r--r--lld/test/ELF/lto/cache.ll4
-rw-r--r--lld/test/wasm/lto/cache.ll4
2 files changed, 0 insertions, 8 deletions
diff --git a/lld/test/ELF/lto/cache.ll b/lld/test/ELF/lto/cache.ll
index 63ab3f67032..86fcf8163e8 100644
--- a/lld/test/ELF/lto/cache.ll
+++ b/lld/test/ELF/lto/cache.ll
@@ -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
diff --git a/lld/test/wasm/lto/cache.ll b/lld/test/wasm/lto/cache.ll
index 35b7c78f5cc..9b4aa5d6e2d 100644
--- a/lld/test/wasm/lto/cache.ll
+++ b/lld/test/wasm/lto/cache.ll
@@ -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
OpenPOWER on IntegriCloud