-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add conditional dependency on LLVM packages for Mono #2140
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
100c720
Add conditional dependency on LLVM packages for Mono
b8a7b73
Enable LLVM CI
5180448
Construct path manually
6201ac9
Bump LLVM
bdb0ba3
Update src/mono/mono.proj
directhex 80e8527
Update src/mono/mono.proj
directhex d51f23f
Don't GeneratePathProperty since it doesn't work in Restore task
f5feb5d
Create MonoLLVMDir property and use it
1ca5b70
Cleanup
7388fdb
Merge remote-tracking branch 'origin/master' into mono-llvm-enablement
068bb0f
Try to differentiate LLVM artifacts
dd588f6
Merge remote-tracking branch 'origin/master' into mono-llvm-enablement
19063f1
Merge remote-tracking branch 'origin/master' into mono-llvm-enablement
498e203
Merge remote-tracking branch 'origin/master' into mono-llvm-enablement
directhex fbf521f
Merge remote-tracking branch 'origin/master' into mono-llvm-enablement
directhex 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,2 +1,51 @@ | ||
| # temporary Makefile until we can fully move netcore mono to new repo | ||
| all: | ||
| if ENABLE_LLVM | ||
|
|
||
| if HOST_WIN32 | ||
| llvm_config=llvm-config.exe | ||
| else | ||
| llvm_config=llvm-config | ||
| endif | ||
|
|
||
| if HAVE_STATIC_ZLIB | ||
| llvm_extra_libs = $(STATIC_ZLIB_PATH) | ||
| else | ||
| if HAVE_SYS_ZLIB | ||
| llvm_extra_libs=-lz | ||
| else | ||
| llvm_extra_libs= | ||
| endif | ||
| endif | ||
|
|
||
| if INTERNAL_LLVM_ASSERTS | ||
| ENABLE_ASSERTS=On | ||
| else | ||
| ENABLE_ASSERTS=Off | ||
| endif | ||
|
|
||
| all-local: llvm_config.mk | ||
|
|
||
| clean-local: clean-llvm-config | ||
|
|
||
| $(mono_build_root)/llvm/llvm_config.mk: $(top_srcdir)/llvm/Makefile.am | ||
| $(top_srcdir)/llvm/build_llvm_config.sh "$(EXTERNAL_LLVM_CONFIG)" "$(LLVM_CODEGEN_LIBS)" "$(llvm_extra_libs)" | tee $@ | ||
|
|
||
| llvm_config.mk: $(mono_build_root)/llvm/llvm_config.mk | ||
|
|
||
| clean-llvm-config: | ||
| - rm -rf llvm_config.mk | ||
|
|
||
| else | ||
| all-local: | ||
|
|
||
| clean-local: | ||
| endif | ||
|
|
||
| # Override this so we don't try to re-copy llvm when we install mono | ||
| install: | ||
|
|
||
| if TARGET_WASM | ||
| LLVM_TARGET=wasm32 | ||
| else | ||
| LLVM_TARGET= | ||
| endif | ||
|
|
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.
Uh oh!
There was an error while loading. Please reload this page.