]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
build/ops: do_cmake.sh: automate py3 build options for certain distros 25205/head
authorNathan Cutler <ncutler@suse.com>
Wed, 21 Nov 2018 15:14:46 +0000 (16:14 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 21 Nov 2018 15:51:16 +0000 (16:51 +0100)
commita691122a4e04e5b98d494a71f51fbee1cdc65cc7
treed6d714809a2d644a8da38a2b82c5668189b8a302
parent11c61fc974bb85dfe4d80c2c5603b15c371d301d
build/ops: do_cmake.sh: automate py3 build options for certain distros

Before this patch, run-make-check.sh was setting the cmake options for
py3 build based only on the absence of a python2 binary in the system.
This was not sufficiently deterministic, and it didn't help folks who
run do_cmake.sh directly.

With this patch, we explicitly force the py3 build in do_cmake.sh, for
those OS types/versions we know need it.

Fixes: https://tracker.ceph.com/issues/37330
Signed-off-by: Nathan Cutler <ncutler@suse.com>
do_cmake.sh
run-make-check.sh