Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add library ICU #840

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions bin/yaml/libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,15 @@ libraries:
targets:
- 0.12.2
type: github
icu:
build_type: manual
check_file: README.md
lib_type: shared
repo: unicode-org/icu
target_prefix: release-
targets:
- 71-1
type: github
hip-amd:
check_file: include/hip/hip_runtime.h
path_name: libs/rocm/{name}
Expand Down
29 changes: 29 additions & 0 deletions update_compilers/install_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,35 @@ install_openssl() {

install_openssl 1_1_1c 1_1_1g

#########################
# ICU

install_icu() {
for VERSION in "$@"; do
local DEST=${OPT}/libs/icu/${VERSION}/x86_64/opt
if [[ ! -d ${DEST} ]]; then
pushd /tmp
fetch "https://github.com/unicode-org/icu/releases/download/release-${VERSION}/icu4c-${VERSION/-/_}-src.tgz" |
tar zxf -
pushd icu/source
./configure --prefix=${DEST}
make
make install

make clean
./configure --prefix=${DEST/x86_64/x86} --with-library-bits=32
make
make install

popd
rm -rf icu
popd
fi
done
}

install_icu 71-1

#########################
# cs50

Expand Down