Skip to content

Python: fix clingo bootstrapping on Apple M1/M2#31792

Merged
alalazo merged 3 commits intospack:developfrom
adamjstewart:fixes/python
Aug 1, 2022
Merged

Python: fix clingo bootstrapping on Apple M1/M2#31792
alalazo merged 3 commits intospack:developfrom
adamjstewart:fixes/python

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

@adamjstewart adamjstewart commented Jul 28, 2022

Follow-up to #30834 that solves one last issue with clingo bootstrapping when using the system Python that comes with Xcode. This is a more general solution than #31791 and should also help when using an external Python to install packages.

Fixes #31717
Fixes #31735
Closes #31791

@sethrj

@adamjstewart adamjstewart changed the title Python: fix clingo bootstrapping on Apple M1 Python: fix clingo bootstrapping on Apple M1/M2 Jul 28, 2022
sethrj
sethrj previously approved these changes Jul 29, 2022
Copy link
Copy Markdown
Contributor

@sethrj sethrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this branch lets me bootstrap with system python! (Again, under the configuration specified in #31791.) Thanks for the cleaner solution!

@sethrj sethrj enabled auto-merge (squash) July 29, 2022 00:17
@trws
Copy link
Copy Markdown
Contributor

trws commented Jul 29, 2022

Works like a charm on M1 Max. It did build a somewhat depressing number of packages to get there, finding externals for cmake and python but for none of: perl, bison, m4, readline, diffutils, etc. but it built and worked like a charm, great stuff!

@adamjstewart
Copy link
Copy Markdown
Member Author

@spackbot run pipeline

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Jul 29, 2022

I've started that pipeline for you!

@adamjstewart
Copy link
Copy Markdown
Member Author

@spackbot run pipeline

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Jul 30, 2022

I've started that pipeline for you!

@alalazo alalazo closed this Aug 1, 2022
auto-merge was automatically disabled August 1, 2022 14:40

Pull request was closed

@alalazo alalazo reopened this Aug 1, 2022
@alalazo alalazo enabled auto-merge (squash) August 1, 2022 14:40
@alalazo alalazo merged commit 90dbfea into spack:develop Aug 1, 2022
@adamjstewart adamjstewart deleted the fixes/python branch August 1, 2022 15:53
@sethrj
Copy link
Copy Markdown
Contributor

sethrj commented Aug 1, 2022

Yay finally merged 😂 Thanks again @adamjstewart !

@adamjstewart adamjstewart added macOS bootstrap Anything that has to do with Spack building its own dependencies. labels Aug 4, 2022
bhatiaharsh pushed a commit to bhatiaharsh/spack that referenced this pull request Aug 8, 2022
marcost2 pushed a commit to marcost2/spack that referenced this pull request Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bootstrap Anything that has to do with Spack building its own dependencies. macOS python update-package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bootstrap issue: cannot find Python (new apple M2) Installation issue: clingo-bootstrap: Could NOT find Python

4 participants