forked from microsoft/icu
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Added wasi-sdk flow #307
Merged
Merged
Added wasi-sdk flow #307
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
ad1ca5e
Added wasi-sdk flow
mkhamoyan 426b8ff
Added wasi in azure-pipelines
mkhamoyan 2525da0
Removed container name
mkhamoyan a0cb465
Change Wasi_SDK_PATH for CI
mkhamoyan 17beb4d
update paths
mkhamoyan 3f2da6c
update path
mkhamoyan f38f521
update path
mkhamoyan 915bc84
update path
mkhamoyan 90c071d
change wasi-sdk-version
mkhamoyan b1ed769
Updated PatchWasiSdk
mkhamoyan d5fd0ef
update icu.proj
mkhamoyan a4b8734
update icu.proj
mkhamoyan a536b93
update the root
mkhamoyan bf0e0aa
update icu.proj
mkhamoyan a443d2c
upate icu.proj
mkhamoyan 3f15161
update icu.proj
mkhamoyan 2b441a6
update wasi clang paths
mkhamoyan a8e96b4
update comfiler-flags
mkhamoyan 32e532b
update compiler_flags
mkhamoyan f244f8b
update compiler_flags
mkhamoyan 4ab7653
update compiler flags
mkhamoyan d717f61
update compiler config
mkhamoyan 2955160
update compiler-config
mkhamoyan 24885c9
update
mkhamoyan 1f7ff41
Fix icu for wasi
mkhamoyan a7d2c77
Added patch for icu changes
mkhamoyan 40a1e89
update hardcoded HOST_PLATFORM
mkhamoyan 605ef11
Remove not used host
mkhamoyan 1163a29
update condition for platform check
mkhamoyan 1b926d9
Merge branch 'dotnet/main' into icu_wasi_sdk
mkhamoyan ea55666
Refactoring
mkhamoyan 17e2613
download wasi-sdk when needed
mkhamoyan 30a53d9
Added comments
mkhamoyan 3036bc2
Remove unused code
mkhamoyan ca26058
Removed extra line
mkhamoyan e435609
update
mkhamoyan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# TODO: add other host platform/arch combinations | ||
UNAME_S := $(shell uname -s) | ||
UNAME_M := $(shell uname -m) | ||
UNAME_R := $(shell uname -r) | ||
|
||
ifeq ($(UNAME_S),Linux) | ||
HOST_PLATFORM=x86_64-pc-linux-gnu | ||
endif | ||
ifeq ($(UNAME_S),Darwin) | ||
ifeq ($(UNAME_M),arm64) | ||
HOST_PLATFORM=arm64-apple-darwin$(UNAME_R) | ||
endif | ||
ifeq ($(UNAME_M),x86_64) | ||
HOST_PLATFORM=x86_64-apple-darwin$(UNAME_R) | ||
endif | ||
endif | ||
ifeq ($(WASM_ENABLE_THREADS),true) | ||
pavelsavara marked this conversation as resolved.
Show resolved
Hide resolved
|
||
THREADS_FLAG="-pthread" | ||
endif | ||
|
||
CONFIGURE_COMPILER_FLAGS += \ | ||
CFLAGS="-Oz -fno-exceptions -Wno-sign-compare $(THREADS_FLAG) $(ICU_DEFINES)" \ | ||
CXXFLAGS="-Oz -fno-exceptions -Wno-sign-compare $(THREADS_FLAG) $(ICU_DEFINES)" \ | ||
CC="$(WASI_SDK_PATH)/bin/clang --sysroot=$(WASI_SDK_PATH)/share/wasi-sysroot" \ | ||
CXX="$(WASI_SDK_PATH)/bin/clang++ --sysroot=$(WASI_SDK_PATH)/share/wasi-sysroot" \ | ||
--host=$(HOST_PLATFORM) --build=wasm32 | ||
|
||
check-env: | ||
: |
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a future PR: This
Publish Packages
job should run for PRs too, and generate the packages, but skip the publishing part itself. This would ensure that the PR doesn't break packaging.