Repository navigation
Remove explicitly setting IREE_LLVMAOT_LINKER_PATH in build scripts - #4110
Conversation
| declare -a test_env_args=( | ||
| --test_env=IREE_LLVMJIT_DISABLE=$IREE_LLVMJIT_DISABLE | ||
| --test_env=IREE_VULKAN_DISABLE=$IREE_VULKAN_DISABLE | ||
| --action_env=IREE_LLVMAOT_LINKER_PATH=$IREE_LLVMAOT_LINKER_PATH |
There was a problem hiding this comment.
How does this behave when the env var isn't set? We probably still want to forward the env var into Bazel's sandbox if it is set explicitly.
There was a problem hiding this comment.
Haven't tried bazel hopefully it will be null. I will revert this and keep the forwarding.
| case "${target}" in | ||
| "dylib-llvm-aot") | ||
| extra_flags+=('--iree-llvm-target-triple=aarch64-linux-android') | ||
| extra_flags+=('--iree-llvm-target-triple=aarch64-none-linux-android30') |
There was a problem hiding this comment.
Just curious about the format of these triples... I've been using android29 since that matches the version of the NDK I currently have downloaded. Does generic android work well enough, or are we going to have these sorts of pinned versions in several places?
There was a problem hiding this comment.
aarch64 & android30 are supposed to be driven from what ever we have here as ANDROID_PLATFORM & ANDROID_ABI
https://github.com/google/iree/blob/main/build_tools/cmake/build_android.sh
I used 30 as the most recent NDK have
|
This enables the default linker discovery by not setting IREE_LLVMAOT_LINKER_PATH . Progress on #4090 |
|
Just changing the dockerfile like this does not update our docker images. Please take a look at the README under https://github.com/google/iree/tree/main/build_tools/docker. In the meantime, I think this should be reverted. It creates a skew between our dockerfiles and actually built images. #4116 is not sufficient to fix it (it only updates the cmake-android image) |
This enables the default linker discovery by not setting
IREE_LLVMAOT_LINKER_PATH.Progress on #4090