File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -1057,6 +1057,15 @@ libraries:
1057
1057
targets :
1058
1058
- trunk
1059
1059
type : github
1060
+ icu :
1061
+ build_type : manual
1062
+ check_file : readme.html
1063
+ lib_type : shared
1064
+ repo : unicode-org/icu
1065
+ target_prefix : release-
1066
+ targets :
1067
+ - 71-1
1068
+ type : github
1060
1069
if : nightly
1061
1070
immer :
1062
1071
build_type : none
Original file line number Diff line number Diff line change @@ -51,6 +51,35 @@ install_openssl() {
51
51
52
52
install_openssl 1_1_1c 1_1_1g
53
53
54
+ # ########################
55
+ # ICU
56
+
57
+ install_icu () {
58
+ for VERSION in " $@ " ; do
59
+ local DEST=${OPT} /libs/icu/${VERSION} /x86_64/opt
60
+ if [[ ! -d ${DEST} ]]; then
61
+ pushd /tmp
62
+ fetch " https://github.com/unicode-org/icu/releases/download/release-${VERSION} /icu4c-${VERSION/ -/ _} -src.tgz" |
63
+ tar zxf -
64
+ pushd icu/source
65
+ ./configure --prefix=${DEST}
66
+ make
67
+ make install
68
+
69
+ make clean
70
+ ./configure --prefix=${DEST/ x86_64/ x86} --with-library-bits=32
71
+ make
72
+ make install
73
+
74
+ popd
75
+ rm -rf icu
76
+ popd
77
+ fi
78
+ done
79
+ }
80
+
81
+ install_icu 71-1
82
+
54
83
# ########################
55
84
# cs50
56
85
You can’t perform that action at this time.
0 commit comments