Repository navigation
Auto discover unix linker path and setup Android NDK linker - #4034
Merged
Merged
Conversation
ScottTodd
requested changes
Dec 1, 2020
Contributor
Author
ScottTodd
reviewed
Dec 1, 2020
ScottTodd
approved these changes
Dec 2, 2020
| if (targetTriple.isAndroid()) { | ||
| char *androidNDKPath = std::getenv("ANDROID_NDK"); | ||
| if (!androidNDKPath) return toolPath; | ||
| // TODO(ataei, benvanik): Windows cross-linking android NDK support. |
Member
There was a problem hiding this comment.
Wouldn't these TODOs go in WindowsLinkerTool.cpp?
depending on what needs to change.
Maybe just the Windows TODOs from this PR?
Contributor
Author
There was a problem hiding this comment.
The windows linker tool is for Windows targets, the TODO here for when compiling for Andorid target on windows host
Member
There was a problem hiding this comment.
Contributor
Author
There was a problem hiding this comment.
hmmm, shouldn't have isWindowsMSVCEnvironment if we must have it here then the TODO I have needs to move to createWindowsLinkerTool but I think we can keep linker to be target specific and do similar thing (e.g build for windows on linux ?)
This was referenced Dec 2, 2020
Closed
Closed
Merged
ScottTodd
added a commit
that referenced
this pull request
Dec 17, 2020
LLVM AOT is now stable enough to run by default on all build/test configurations (mainly thanks to: #3757, #4034, #3928). We don't see a path to deployment on our primary platforms using LLVM JIT and the backend adds excess maintenance cost in the main repository (e.g. runtime code that depends on LLVM -> slow builds and can't build on Android), so this removes the `llvm-ir` compiler target and corresponding `llvm` HAL backend in favor of the `dylib-llvm-aot` compiler target and `dylib` HAL backend (we have many names for the same components :P).
benvanik
pushed a commit
that referenced
this pull request
Dec 22, 2020
LLVM AOT is now stable enough to run by default on all build/test configurations (mainly thanks to: #3757, #4034, #3928). We don't see a path to deployment on our primary platforms using LLVM JIT and the backend adds excess maintenance cost in the main repository (e.g. runtime code that depends on LLVM -> slow builds and can't build on Android), so this removes the `llvm-ir` compiler target and corresponding `llvm` HAL backend in favor of the `dylib-llvm-aot` compiler target and `dylib` HAL backend (we have many names for the same components :P).
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Change default behavior when
IREE_LLVMAOT_LINKER_PATHisn't set for unix host and target systems:ANDROID_NDKvariable.