Skip to content

Revert "build: explicitly specify the python path" #26248

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

Merged
merged 1 commit into from
Jul 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions utils/build-script-impl
Original file line number Diff line number Diff line change
Expand Up @@ -669,10 +669,6 @@ function set_build_options_for_host() {
-DCOMPILER_RT_ENABLE_TVOS:BOOL=FALSE
-DSANITIZER_MIN_OSX_VERSION="${cmake_osx_deployment_target}"
-DLLVM_ENABLE_MODULES:BOOL="$(true_false ${LLVM_ENABLE_MODULES})"
# NOTE(compnerd) this explicitly sets up the python executable
# since we sometimes end up with python 3 and the tooling
# currently relies on python 2.7
-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2.7
)
if [[ $(is_llvm_lto_enabled) == "TRUE" ]]; then
if [[ $(cmake_needs_to_specify_standard_computed_defaults) == "TRUE" ]]; then
Expand Down Expand Up @@ -2562,21 +2558,6 @@ for host in "${ALL_HOSTS[@]}"; do
cmake_options+=(
-DLLDB_CODESIGN_IDENTITY=""
-DLLDB_USE_SYSTEM_DEBUGSERVER:BOOL="${LLDB_USE_SYSTEM_DEBUGSERVER}"

# NOTE(compnerd) this explicitly sets up the python
# executable since we sometimes end up with python 3 and
# the tooling currently relies on python 2.7
-DPython_ADDITIONAL_VERSIONS="2.7"
-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2.7
-DPYTHON_LIBRARY="$(xcrun --sdk ${xcrun_sdk_name} --show-sdk-path)/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.tbd"
-DPYTHON_INCLUDE_DIR="$(xcrun --sdk ${xcrun_sdk_name} --show-sdk-path)/System/Library/Frameworks/Python.framework/Headers"
)
else
cmake_options+=(
# NOTE(compnerd) this explicitly sets up the python
# executable since we sometimes end up with python 3 and
# the tooling currently relies on python 2.7
-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2.7
)
fi
fi
Expand Down