Skip to content

Commit

Permalink
CLDR-15022 speedup generate (only build cldr-code)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Sep 1, 2021
1 parent aeebf2a commit 092eb44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cldr-generate-json.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
#
#
# Copyright © 1991-2020 Unicode, Inc. All rights reserved. Distributed under
# the Terms of Use in http://www.unicode.org/copyright.html.
#
Expand All @@ -16,9 +16,9 @@ fi
mkdir -p -v ${OUT} ${INDATA}/seed/main ${INDATA}/seed/annotations ${DIST}
MAIN_CLASS=org.unicode.cldr.json.Ldml2JsonConverter
export MAVEN_OPTS="-Xmx8192m -XX:MaxPermSize=1024m -Dexec.cleanupDaemonThreads=false -Dexec.mainClass=${MAIN_CLASS}"
MVN="mvn --file=${CLDR_DIR}/tools/pom.xml"
MVN="mvn --file=${CLDR_DIR}/tools/pom.xml -pl cldr-code"
MVN_COMPILE="${MVN} compile"
MVN_EXEC="${MVN} -DCLDR_DIR=${INDATA} exec:java -pl cldr-code"
MVN_EXEC="${MVN} -DCLDR_DIR=${INDATA} exec:java"

set -x
${MVN_COMPILE} || exit 1
Expand Down

0 comments on commit 092eb44

Please sign in to comment.