llvm_9: fix utf8 test by using builtin locale C.UTF-8

This commit is contained in:
Will Dietz 2019-09-19 14:27:42 -05:00
parent f52b3afc8d
commit 74b529b43e
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02

View File

@ -77,6 +77,10 @@ in stdenv.mkDerivation (rec {
rm test/CodeGen/AArch64/wineh4.mir
'' + ''
patchShebangs test/BugPoint/compile-custom.ll.py
# Fix test so that no extra locale files are needed
substituteInPlace test/tools/llvm-ar/mri-utf8.test \
--replace en_US.UTF-8 C.UTF-8
'';
# hacky fix: created binaries need to be run before installation