Repository navigation
Refine release build CMake options. - #14611
Merged
Merged
Conversation
(Release builds should match project builds where possible. If it's useful in releases the it should be enabled for development by default too)
ScottTodd
commented
Aug 10, 2023
Comment on lines
+254
to
+255
| "-DIREE_BUILD_SAMPLES=OFF", | ||
| "-DIREE_BUILD_TESTS=OFF", |
Member
Author
There was a problem hiding this comment.
@stellaraccident do you remember if we had a reason to include tests and samples in the compiler python release build? I wouldn't expect any of those code paths / executables / etc. to end up in the wheels anyways.
Collaborator
There was a problem hiding this comment.
I doubt I had a reason for not including these lines. Probably just forgot.
stellaraccident
approved these changes
Aug 11, 2023
Comment on lines
+254
to
+255
| "-DIREE_BUILD_SAMPLES=OFF", | ||
| "-DIREE_BUILD_TESTS=OFF", |
Collaborator
There was a problem hiding this comment.
I doubt I had a reason for not including these lines. Probably just forgot.
nhasabni
pushed a commit
to plaidml/iree
that referenced
this pull request
Aug 24, 2023
* We now rely on build system logic rather than script overrides for enabling CUDA (so the CUDA compiler target is now enabled in the Windows releases). * Tested at https://github.com/openxla/iree/actions/runs/5813793199 and verified that the expected runtime HAL drivers and compiler target backends were enabled for each of the [Linux, macOS, Windows] x [compiler, runtime] builds. * Added a section to specify external HAL drivers in runtime/setup.py. This project leaves the section empty and _unsets_ the variable with `-UIREE_EXTERNAL_HAL_DRIVERS`, but downstream projects can provide a list to _set_ the variable if they wish. * Disabled samples and tests in compiler python package (to work around path length limits on Windows, see logs at https://github.com/nod-ai/SHARK-Runtime/actions/runs/5814626661/job/15764674157).
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.
-UIREE_EXTERNAL_HAL_DRIVERS, but downstream projects can provide a list to set the variable if they wish.