Skip to content
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

Update CMake files to use FindPython3 #2056

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

lmoureaux
Copy link
Contributor

FindPythonInterp is deprectaed. FindPython3 is a drop-in replacement.

@lmoureaux lmoureaux added the tools Issues related to mp, ruledit, etc along with CI and build tools. label Nov 22, 2023
@lmoureaux lmoureaux requested a review from jwrober November 22, 2023 18:17
@lmoureaux
Copy link
Contributor Author

Looks like I broke Windows. Apple failed for a different reason

FindPythonInterp is deprectaed. FindPython3 is a drop-in replacement.
The replacement is not as drop-in as I thought.
See PR longturn#2056.
@lmoureaux lmoureaux force-pushed the feature/update-cmake-find-python branch from b13da4e to 9ab2dc7 Compare November 27, 2023 01:00
@jwrober
Copy link
Collaborator

jwrober commented Nov 27, 2023

I am going to run this on Windows clang to double check its ok there.

@lmoureaux
Copy link
Contributor Author

Let me tune a few knobs so we can trigger this on Github

Allows checking that everything builds when needed (e.g. when editing CMake
code).

See longturn#2056.
@lmoureaux
Copy link
Contributor Author

Let me tune a few knobs so we can trigger this on Github

Full build starting here: https://github.com/lmoureaux/freeciv21/actions/runs/7012070710

@lmoureaux
Copy link
Contributor Author

Full build starting here: https://github.com/lmoureaux/freeciv21/actions/runs/7012070710

Succeeded (except for macOS with the usual bug)

Copy link
Collaborator

@jwrober jwrober left a comment

Choose a reason for hiding this comment

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

Windows Clang worked for me too on my local.

@lmoureaux lmoureaux merged commit 3268d35 into longturn:master Nov 28, 2023
19 of 20 checks passed
@lmoureaux lmoureaux deleted the feature/update-cmake-find-python branch November 28, 2023 17:44
lmoureaux added a commit that referenced this pull request Nov 28, 2023
The replacement is not as drop-in as I thought.
See PR #2056.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues related to mp, ruledit, etc along with CI and build tools.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants