-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Build] Make cmark build a build-script product #37102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci smoke test |
31dc1e8
to
bb755ac
Compare
@swift-ci smoke test |
94a9344
to
e8bfa86
Compare
@swift-ci smoke test |
e8bfa86
to
f8b7d28
Compare
@swift-ci smoke test |
f8b7d28
to
64a553b
Compare
@swift-ci smoke test |
64a553b
to
3ab1dbf
Compare
@swift-ci smoke test |
3ab1dbf
to
21fe1ed
Compare
@swift-ci smoke test |
21fe1ed
to
3922708
Compare
@swift-ci smoke test |
3922708
to
ba99d98
Compare
@swift-ci smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small bit of quick feedback. I am probably going to move those two methods to a parent class in a forthcoming commit. Looks good over all though!
query_dir = os.path.join(self.build_dir, ".cmake", "api", "v1", "query") | ||
if not os.path.exists(query_dir): | ||
os.makedirs(query_dir) | ||
open(os.path.join(query_dir, "codemodel-v2"), 'a').close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really the canonical way to do this in python? I guess it works.
|
||
|
||
class CMakeProduct(product.Product): | ||
def should_include_host_in_lipo(self, host_target): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this method should be in the parent product class. Seems like something that might be useful for all products.
return False | ||
|
||
def host_install_destdir(self, host_target): | ||
if self.args.cross_compile_hosts: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method also I think should be in the parent product class. Seems like something that might be useful for all products.
ba99d98
to
346d1d0
Compare
@swift-ci smoke test |
less
Outdated
llvm | ||
swift | ||
swiftpm | ||
Final Build Order: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drexin I don't think you meant to commit this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dang it... thanks
346d1d0
to
c819493
Compare
@swift-ci smoke test |
@swift-ci smoke test macos |
@swift-ci smoke test windows |
1 similar comment
@swift-ci smoke test windows |
This reverts commit 3c19cc4.
This is failing: https://ci.swift.org/job/oss-swift-package-macos/5874/console
I'm going to revert it #37604. Please test with "swift-ci please build toolchain" before re-landing. |
…tlang#37102)"" This reverts commit 3150086.
)" This reverts commit 3c19cc4.
…tlang#37102)"" This reverts commit 3150086.
…tlang#37102)"" This reverts commit 3150086. (cherry picked from commit 7cfabf5)
CMark was converted from a `build-script-impl` product to `build-script` product in #37102. After that change remaining mentions of CMark in `build-script-impl` were unused and can be removed.
CMark was converted from a `build-script-impl` product to `build-script` product in #37102. After that change remaining mentions of CMark in `build-script-impl` were unused and can be removed.
CMark was converted from a `build-script-impl` product to `build-script` product in #37102. After that change remaining mentions of CMark in `build-script-impl` were unused and can be removed.
build-script-impl: remove CMark cases as unused CMark was converted from a `build-script-impl` product to `build-script` product in #37102. After that change, some of the remaining mentions of CMark in `build-script-impl` were unused and can be removed.
No description provided.