Skip to content

bootstrap a python 2.6 installation#20218

Closed
cosmicexplorer wants to merge 2 commits intodevelopfrom
py26-bootstrap
Closed

bootstrap a python 2.6 installation#20218
cosmicexplorer wants to merge 2 commits intodevelopfrom
py26-bootstrap

Conversation

@cosmicexplorer
Copy link
Copy Markdown
Contributor

@cosmicexplorer cosmicexplorer commented Dec 2, 2020

Problem

We would like to ensure that clingo is able to bootstrap from a python 2.6-only, C++11-only environment in #20159.

Solution

  • Add multiple patches which will allow python 2.6 to be built even with ~ssl and ~dbm.
  • Modify the libtirpc transitive dependency so that its headers are visible to python (this is necessary to make the build pass).
  • Pass --no-user-cfg only if the python version is >2.6.

Result

  • These modifications to the python package allow it to be built within spack (tested on CentOS 6 with the x86 architecture).
  • This makes it easier to test python 2.6 compatibility in arbitrary environments.

TODO

create a reasonable variant of python to build from scratch

add todo
revert unnecessary changes

Fix building on osx
@cosmicexplorer
Copy link
Copy Markdown
Contributor Author

Closing in favor of #20159.

@cosmicexplorer
Copy link
Copy Markdown
Contributor Author

Reopening because this is actually still useful to separate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant