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
cmake: use latest FindPython*.cmake #29100
Merged
Merged
Conversation
This file contains 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
Contributor
tchaikov
commented
Jul 18, 2019
- References tracker ticket
- Updates documentation if necessary
- Includes tests for new functionality or reproducer for bug
tchaikov
force-pushed
the
wip-cmake-python-osx
branch
from
July 18, 2019 02:39
db6244e
to
835a472
Compare
cbodley
approved these changes
Jul 18, 2019
tchaikov
force-pushed
the
wip-cmake-python-osx
branch
from
July 19, 2019 07:12
835a472
to
eca3275
Compare
jenkins, retest this please |
tchaikov
force-pushed
the
wip-cmake-python-osx
branch
4 times, most recently
from
July 19, 2019 13:13
d2858bd
to
7cc55b0
Compare
cbodley
approved these changes
Jul 19, 2019
tchaikov
force-pushed
the
wip-cmake-python-osx
branch
from
July 20, 2019 14:21
7cc55b0
to
87e3ae6
Compare
use the ones shiped from the latest cmake. which * enables us to find the recent python intepreter and development files, * find intepreter and development in a single `find_pacakge()` command, simpler this way and less error prone. and to accomodate this change: * all `PYTHON${PYTHON_VERSION}_*` variables are renamed to `Python${PYTHON_VERSION}_*` if we use `find_package(Python2...)` or `find_package(Python3...)` to find python2 or python3 instead of using `find_package(Python...)`. * use "2" explicitly when using python2, as `Python_*` variables are not defined anymore * when compiling python support of ceph-mgr, continue using `Python_*` variables. because we find the python interpreter and development files using `find_pacakge(Python...)` for ceph-mgr. Signed-off-by: Kefu Chai <kchai@redhat.com>
tchaikov
force-pushed
the
wip-cmake-python-osx
branch
from
July 20, 2019 14:35
87e3ae6
to
fc39309
Compare
allow `distutils_*()` functions to choose the python according to this parameter, instead of implicitly using the variable of ${PYTHON_VERSION} inherited from the caller. Signed-off-by: Kefu Chai <kchai@redhat.com>
* we've moved to cmake 3.5, so no need to hack for newer cmake * nss dependency is dropped, no need to install it anymore * pass clang and clang++ using cmake variable to be more consistent * pass CMAKE_EXE_LINKER_FLAGS as `/usr/local/opt/llvm/lib` is not in default library paths. * mention boostorg/atomic#15 Signed-off-by: Kefu Chai <kchai@redhat.com>
tchaikov
force-pushed
the
wip-cmake-python-osx
branch
from
July 20, 2019 16:48
fc39309
to
79078f4
Compare
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.