Skip to content

Revert removing explicit linker path in compile_android_modules.sh. - #4605

Merged
ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:benchmark-fix-attempt
Jan 26, 2021
Merged

ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:benchmark-fix-attempt

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing platform/android 🤖 Android-specific build, execution, benchmarking, and deployment labels Jan 26, 2021
@ScottTodd
ScottTodd requested a review from GMNGeoffrey January 26, 2021 00:51
@google-cla google-cla Bot added the cla: yes label Jan 26, 2021
@benvanik

Copy link
Copy Markdown
Collaborator

This is something we'll want to figure because it shouldn't be required - can you file an issue to track?
(of the "if we have to do this here then users may have to do it too, and nobody wants that" type)

@benvanik benvanik added the ew 🤮 That shouldn't be that way and needs cleanup label Jan 26, 2021
@GMNGeoffrey GMNGeoffrey changed the title Revert removing explicit linker path in compile_andoird_modules.sh. Revert removing explicit linker path in compile_android_modules.sh. Jan 26, 2021
@ScottTodd

Copy link
Copy Markdown
Member Author

This is something we'll want to figure because it shouldn't be required - can you file an issue to track?
(of the "if we have to do this here then users may have to do it too, and nobody wants that" type)

Sure, I'll link to https://github.com/google/iree/blob/7ed18724ae4acbbd3bf50a1b5ee0bdb5e73444a2/iree/compiler/Dialect/HAL/Target/LLVM/internal/UnixLinkerTool.cpp#L58-L62

This script and the buildkite pipelines are tricky to debug, so I'm not sure if there's a good way to test besides merging this (small) commit and falling back to creating a test pipeline if it isn't enough. This script is used here: https://github.com/google/iree/blob/7ed18724ae4acbbd3bf50a1b5ee0bdb5e73444a2/build_tools/buildkite/cmake/android/arm64-v8a/benchmark.yml#L16-L22

@ScottTodd

Copy link
Copy Markdown
Member Author

Oh, there's some history here: #4118 ...

@ScottTodd
ScottTodd merged commit 9cdd378 into iree-org:main Jan 26, 2021
@ScottTodd
ScottTodd deleted the benchmark-fix-attempt branch January 26, 2021 01:22
@hanhanW

hanhanW commented Jan 26, 2021

Copy link
Copy Markdown
Contributor

I feel one of the issues would be static link. I remember that I hit an issue when I ran the model on Pixel 4 first time. @asaadaldien suggested me to compile the module with static link, so I updated the doc that time: https://google.github.io/iree/get-started/getting-started-android-cmake#dylib-llvm-aot-backend

@NatashaKnk NatashaKnk mentioned this pull request Jan 26, 2021
copybara-service Bot pushed a commit that referenced this pull request Jan 26, 2021
* 4da7ac0 Allow benchmark pipeline to be run on presubmit (#4607)
* efbf53d Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4610)
* 9cdd378 Revert removing explicit linker path in compile_android_modules.sh. (#4605)
* 7ed1872 Merge pull request #4601
* 4e1a69b Remove custom CMake cross compilation for Android. (#4584)
* 38210b5 Merge branch 'main' into google-to-main
* 7defc33 Update third_party/ruy and use its own new CMakeLists.txt. (#4564)
* 71c6802 Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4593)
* 7e4dd01 E2E implementation of all remaining fft types (#4585)
* 53fcde4 Merge google -> main (#4588)

COPYBARA_INTEGRATE_REVIEW=#4614 from NatashaKnk:main-to-google 4da7ac0
PiperOrigin-RevId: 353949105
iree-github-actions-bot pushed a commit that referenced this pull request Jan 26, 2021
* 4da7ac0 Allow benchmark pipeline to be run on presubmit (#4607)
* efbf53d Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4610)
* 9cdd378 Revert removing explicit linker path in compile_android_modules.sh. (#4605)
* 7ed1872 Merge pull request #4601
* 4e1a69b Remove custom CMake cross compilation for Android. (#4584)
* 38210b5 Merge branch 'main' into google-to-main
* 7defc33 Update third_party/ruy and use its own new CMakeLists.txt. (#4564)
* 71c6802 Integrate MLIR-EmitC at iml130/mlir-emitc@4e501d8 (#4593)
* 7e4dd01 E2E implementation of all remaining fft types (#4585)
* 53fcde4 Merge google -> main (#4588)

COPYBARA_INTEGRATE_REVIEW=#4614 from NatashaKnk:main-to-google 4da7ac0
PiperOrigin-RevId: 353949105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ew 🤮 That shouldn't be that way and needs cleanup infrastructure Relating to build systems, CI, or testing platform/android 🤖 Android-specific build, execution, benchmarking, and deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants