Make extension_runner_util install relative#14465
Conversation
Signed-off-by: Adrian Lundell <adrian.lundell@arm.com> Change-Id: I3217fbfa005b317080ca030774153002a5901546
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14465
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 3 Unrelated FailuresAs of commit 6fa0a43 with merge base b7ac647 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Fails does not look related |
| TARGETS extension_runner_util | ||
| EXPORT ExecuTorchTargets | ||
| DESTINATION ${CMAKE_BINARY_DIR}/lib | ||
| DESTINATION lib |
There was a problem hiding this comment.
Assuming CMAKE_BINARY_DIR == CMAKE_INSTALL_PREFIX?
There was a problem hiding this comment.
My intention is to install the lib in CMAKE_INSTALL_PREFIX instead of the binary dir, if someone has a reason for placing it there they can make sure to set CMAKE_BINARY_DIR == CMAKE_INSTALL_PREFIX but I don't see why it would be a requirement.
There was a problem hiding this comment.
No idea, but if the CI is green then I guess this is OK. Let me add trunk just to be sure.
There was a problem hiding this comment.
Like this?
There was a problem hiding this comment.
This change should only affect the install tree so if you want to use the build tree library instead that should still be in the same place, in the Arm example we use FindPackage to avoid direct paths and that works well.
The reason why we want to make this change is to make it possible to move around the install tree without braking anything, for example to help parallelizing testing.
This removes a reference to the binary tree in the install tree. Signed-off-by: Adrian Lundell <adrian.lundell@arm.com>
This removes a reference to the binary tree in the install tree.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218