Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 635d8f3

Browse filesBrowse files
committed
keep using -isysroot
1 parent b55dab1 commit 635d8f3
Copy full SHA for 635d8f3

File tree

3 files changed

+4
-2
lines changed
Filter options

3 files changed

+4
-2
lines changed

‎examples/pip_install/requirements.in

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
boto3~=1.14.51
22
s3cmd~=2.1.0
33
yamllint~=1.26.3
4-
tree-sitter==0.20.0
4+
tree-sitter==0.20.0 ; sys_platform != "win32"

‎python/pip_install/pip_compile.py

Copy file name to clipboardExpand all lines: python/pip_install/pip_compile.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def _select_golden_requirements_file(
8888
print(
8989
err_msg,
9090
file=sys.stderr,
91+
)
92+
sys.exit(1)
9193

9294
update_command = os.getenv("CUSTOM_COMPILE_COMMAND") or "bazel run %s" % (
9395
update_target_label,

‎python/pip_install/pip_repository.bzl

Copy file name to clipboardExpand all lines: python/pip_install/pip_repository.bzl
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _maybe_set_xcode_location_cflags(rctx, environment):
8787
# so we need to change the path to to the macos specific tools which are in a different relative
8888
# path than xcode installed command line tools.
8989
xcode_root = "{}/Platforms/MacOSX.platform/Developer".format(xcode_root)
90-
environment[CPPFLAGS] = "--sysroot {}/SDKs/MacOSX.sdk".format(xcode_root)
90+
environment[CPPFLAGS] = "-isysroot {}/SDKs/MacOSX.sdk".format(xcode_root)
9191

9292

9393
def _parse_optional_attrs(rctx, args):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.