Skip to content

Commit 74d7698

Browse files
laltenaignas
andauthored
feat: Add libpython QNX platform support (#3372)
Add libpython QNX platform support. Note that the qnx py toolchain must come from somewhere else, this doesn't add an interpreter <!-- PR Instructions/requirements * Title uses `type: description` format. See CONTRIBUTING.md for types. * Common types are: build, docs, feat, fix, refactor, revert, test * Update `CHANGELOG.md` as applicable * Breaking changes include "!" after the type and a "BREAKING CHANGES:" section at the bottom. See CONTRIBUTING.md for our breaking changes process. * Body text describes: * Why this change is being made, briefly. * Before and after behavior, as applicable * References issue number, as applicable * Update docs and tests, as applicable * Delete these instructions prior to sending the PR --> --------- Co-authored-by: Ignas Anikevicius <[email protected]>
1 parent 793dddf commit 74d7698

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/private/hermetic_runtime_repo_setup.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,17 +179,17 @@ def define_hermetic_runtime_toolchain_impl(
179179
"libs/python{major}{minor}t.lib".format(**version_dict),
180180
"libs/python3t.lib",
181181
],
182-
"@platforms//os:linux": [
183-
"lib/libpython{major}.{minor}.so".format(**version_dict),
184-
"lib/libpython{major}.{minor}.so.1.0".format(**version_dict),
185-
],
186182
"@platforms//os:macos": ["lib/libpython{major}.{minor}.dylib".format(**version_dict)],
187183
"@platforms//os:windows": [
188184
"python3.dll",
189185
"python{major}{minor}.dll".format(**version_dict),
190186
"libs/python{major}{minor}.lib".format(**version_dict),
191187
"libs/python3.lib",
192188
],
189+
"//conditions:default": [
190+
"lib/libpython{major}.{minor}.so".format(**version_dict),
191+
"lib/libpython{major}.{minor}.so.1.0".format(**version_dict),
192+
],
193193
}),
194194
)
195195

0 commit comments

Comments
 (0)