[libcxx-commits] [libcxx] 11c14bc - [libc++][ci] Installs Japanese locale in Docker.

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 31 08:41:11 PDT 2022


Author: Mark de Wever
Date: 2022-03-31T17:41:06+02:00
New Revision: 11c14bca58e64477228d114de00a7eff473d2fd4

URL: https://github.com/llvm/llvm-project/commit/11c14bca58e64477228d114de00a7eff473d2fd4
DIFF: https://github.com/llvm/llvm-project/commit/11c14bca58e64477228d114de00a7eff473d2fd4.diff

LOG: [libc++][ci] Installs Japanese locale in Docker.

The alternative outputs of std::put_time and std::strftime are the
easiest to test with the Japanese locale. This is a preparation for the
tests of the chrono formatters.

Note since it takes a while before the Docker file changes propagate to
the build nodes the verification of the locale is done in a separate
patch.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D122736

Added: 
    

Modified: 
    libcxx/utils/ci/Dockerfile

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index da6dc0fc3e33c..1950bdab40bf7 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -46,7 +46,8 @@ RUN apt-get update && apt-get install -y ninja-build python3 python3-sphinx pyth
 
 # Locales for gdb and localization tests
 RUN apt-get update && apt-get install -y language-pack-en language-pack-fr \
-                                         language-pack-ru language-pack-zh-hans
+                                         language-pack-ja language-pack-ru \
+                                         language-pack-zh-hans
 # These two are not enabled by default so generate them
 RUN printf "fr_CA ISO-8859-1\ncs_CZ ISO-8859-2" >> /etc/locale.gen
 RUN mkdir /usr/local/share/i1en/


        


More information about the libcxx-commits mailing list