Skip to content
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

Replace the PycrossWheelInfo provider by simply outputting a directory #47

Closed
wants to merge 91 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
5d2fc36
wip
jvolkman Dec 10, 2022
4eee1ed
wip
jvolkman Dec 12, 2022
dea2ccc
wip
jvolkman Dec 12, 2022
9e1a9b6
Builds numpy
jvolkman Dec 12, 2022
60f03e9
Missing file
jvolkman Dec 12, 2022
ea4915f
Add -o ARFLAG when using libtool
jvolkman Dec 13, 2022
73baa26
version updates
jvolkman Dec 13, 2022
a4abeec
Break up _pycross_wheel_build_impl
jvolkman Dec 13, 2022
7c7e148
Some refactoring
jvolkman Dec 13, 2022
db81a3f
Support specifying path_tools names
jvolkman Dec 14, 2022
4b7f32c
Place tools in their own path
jvolkman Dec 14, 2022
679f54f
Change API for pre-build hooks
jvolkman Dec 14, 2022
b49438d
Add post-build hooks
jvolkman Dec 14, 2022
565d3fe
wip
jvolkman Dec 15, 2022
f122bdf
Build with zig
jvolkman Dec 16, 2022
1bddaff
wip
jvolkman Dec 16, 2022
6036512
Get zig to link .sos
jvolkman Dec 17, 2022
93c85ba
Add patch file
jvolkman Dec 17, 2022
3154e0f
wip
jvolkman Dec 20, 2022
526580f
Missing file
jvolkman Dec 20, 2022
2766cd1
Cross compile openssl
jvolkman Dec 20, 2022
01e12c3
Builds
jvolkman Dec 20, 2022
77893bd
Add docs around patch commands
jvolkman Dec 20, 2022
982d735
blah
jvolkman Dec 21, 2022
066bfd5
Remove useless define
jvolkman Dec 21, 2022
9194e7f
openssl 3.0
jvolkman Dec 21, 2022
47ee263
Still working
jvolkman Dec 22, 2022
d3ee0c9
Still works
jvolkman Dec 22, 2022
9c76531
Remove -j8
jvolkman Dec 22, 2022
7b0b9f7
Work on postgres
jvolkman Dec 22, 2022
cdea1dd
Reproducible postgres
jvolkman Dec 22, 2022
0cc32e4
--without-perl
jvolkman Dec 22, 2022
bd0e31f
Switch to nightly
jvolkman Dec 23, 2022
a421a5e
Revert "Switch to nightly"
jvolkman Dec 23, 2022
0fdaa34
Cross build psycopg2
jvolkman Dec 26, 2022
4631904
Working on auditwheel support
jvolkman Dec 28, 2022
3a31773
wip
jvolkman Dec 29, 2022
8b31eaf
wip
jvolkman Dec 29, 2022
246353d
wip
jvolkman Dec 30, 2022
196bf70
wip
jvolkman Dec 30, 2022
aa83585
Working with more bazely cc support
jvolkman Dec 30, 2022
7ba9607
refactor
jvolkman Dec 30, 2022
f0ee945
Support $(abspath ...)
jvolkman Dec 30, 2022
f9ce596
Fix numpy build
jvolkman Dec 30, 2022
c67a013
Upgrade zig
jvolkman Dec 30, 2022
7ed2053
Determine targeted glibc ver
jvolkman Dec 30, 2022
402cccc
wip
jvolkman Dec 30, 2022
d4577cd
Changes
jvolkman Jan 1, 2023
3b56a91
Use sym_tag
jvolkman Jan 1, 2023
0333202
Hook WIP
jvolkman Jan 1, 2023
31c7c81
Hook WIP
jvolkman Jan 1, 2023
d602900
Remove debug crap
jvolkman Jan 3, 2023
b1d751c
Merge py 3.11 fixes from upstream
jvolkman Jan 5, 2023
3619bae
Fix cross building openblas
jvolkman Jan 5, 2023
34891d2
Remove auditwheel target
jvolkman Jan 5, 2023
d4f7e6e
Add psycopg2 readme
jvolkman Jan 6, 2023
bf91dc7
typo
jvolkman Jan 6, 2023
bb1405c
Update README.md
jvolkman Jan 6, 2023
6d33e06
Add setproctitle
jvolkman Jan 6, 2023
9b1729f
Add setproctitle
jvolkman Jan 8, 2023
265e498
integrate repairwheel
jvolkman Apr 18, 2023
b8e7095
Version bump and use repairwheel
jvolkman Apr 18, 2023
c93e454
More changes around switch to repairwheel
jvolkman Apr 18, 2023
f7e05e5
Include additional bazel-zig-cc bugfix
jvolkman Apr 19, 2023
e40371b
Use relative paths
jvolkman Apr 23, 2023
1bebb77
Patch out usage of --enable-new-dtags
jvolkman Apr 23, 2023
7376749
Upgrade zig version
jvolkman Apr 24, 2023
a2de668
Fix openblas build on newer zig version
jvolkman Apr 24, 2023
c6095c9
Build with -c opt
jvolkman Apr 24, 2023
c7d47e1
Update openblas
jvolkman Apr 24, 2023
e5ba92e
Fix PYCROSS_ env vars
jvolkman Apr 25, 2023
36f6fdb
Fix numpy build
jvolkman Apr 25, 2023
2ff9a61
Set machine correctly on macos
jvolkman Apr 25, 2023
d9158d7
Honor --strip param
jvolkman Apr 25, 2023
394407c
Fix ordering
jvolkman Apr 26, 2023
828d1bd
Remove hard-coded debug and strip flags
jvolkman Apr 26, 2023
f601a7b
updates
jvolkman Apr 26, 2023
604c8b8
bring back copts and linkopts
Apr 30, 2023
7379ade
Override sys prefixes
jvolkman May 22, 2023
340bdff
Add strip copt
jvolkman May 23, 2023
62e2664
Add strip copt
jvolkman May 23, 2023
70d5b2e
Downgrade dacite to get lock generation working again
jvolkman Oct 26, 2023
298d054
Remove crossenv example which is also handled by external_linking
jvolkman Oct 26, 2023
519d50f
Bump versions of pip packages
jvolkman Nov 8, 2023
941af9e
Docs update
jvolkman Nov 8, 2023
c666c0b
Update go
jvolkman Nov 8, 2023
d2d6824
Update versions in pdm example
jvolkman Nov 8, 2023
5253915
Update versions in poetry example
jvolkman Nov 8, 2023
f67f0e7
Updates
jvolkman Nov 8, 2023
57164b3
Revert "Update go"
jvolkman Nov 8, 2023
fa35cc3
Replace the PycrossWheelInfo provider by simply outputting a directory
jvolkman Nov 9, 2023
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
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
6.0.0rc1
6.4.0
# The first line of this file is used by Bazelisk and Bazel to be sure
# the right version of Bazel is used to build and test this repo.
# This also defines which version is used on CI.
Expand Down
12 changes: 10 additions & 2 deletions docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ pycross_target_environment(<a href="#pycross_target_environment-name">name</a>,
## pycross_wheel_build

<pre>
pycross_wheel_build(<a href="#pycross_wheel_build-name">name</a>, <a href="#pycross_wheel_build-copts">copts</a>, <a href="#pycross_wheel_build-deps">deps</a>, <a href="#pycross_wheel_build-linkopts">linkopts</a>, <a href="#pycross_wheel_build-sdist">sdist</a>, <a href="#pycross_wheel_build-target_environment">target_environment</a>)
pycross_wheel_build(<a href="#pycross_wheel_build-name">name</a>, <a href="#pycross_wheel_build-build_env">build_env</a>, <a href="#pycross_wheel_build-config_settings">config_settings</a>, <a href="#pycross_wheel_build-copts">copts</a>, <a href="#pycross_wheel_build-data">data</a>, <a href="#pycross_wheel_build-deps">deps</a>, <a href="#pycross_wheel_build-linkopts">linkopts</a>, <a href="#pycross_wheel_build-native_deps">native_deps</a>,
<a href="#pycross_wheel_build-path_tools">path_tools</a>, <a href="#pycross_wheel_build-post_build_hooks">post_build_hooks</a>, <a href="#pycross_wheel_build-pre_build_hooks">pre_build_hooks</a>, <a href="#pycross_wheel_build-sdist">sdist</a>, <a href="#pycross_wheel_build-target_environment">target_environment</a>)
</pre>


Expand All @@ -141,9 +142,16 @@ pycross_wheel_build(<a href="#pycross_wheel_build-name">name</a>, <a href="#pycr
| Name | Description | Type | Mandatory | Default |
| :------------- | :------------- | :------------- | :------------- | :------------- |
| <a id="pycross_wheel_build-name"></a>name | A unique name for this target. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
| <a id="pycross_wheel_build-build_env"></a>build_env | Environment variables passed to the sdist build. Values are subject to 'Make variable', location, and build_cwd_token expansion. | <a href="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | optional | <code>{}</code> |
| <a id="pycross_wheel_build-config_settings"></a>config_settings | PEP 517 config settings passed to the sdist build. Values are subject to 'Make variable', location, and build_cwd_token expansion. | <a href="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | optional | <code>{}</code> |
| <a id="pycross_wheel_build-copts"></a>copts | Additional C compiler options. | List of strings | optional | <code>[]</code> |
| <a id="pycross_wheel_build-deps"></a>deps | A list of build dependencies for the wheel. | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
| <a id="pycross_wheel_build-data"></a>data | Additional data and dependencies used by the build. | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
| <a id="pycross_wheel_build-deps"></a>deps | A list of Python build dependencies for the wheel. | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
| <a id="pycross_wheel_build-linkopts"></a>linkopts | Additional C linker options. | List of strings | optional | <code>[]</code> |
| <a id="pycross_wheel_build-native_deps"></a>native_deps | A list of native build dependencies (CcInfo) for the wheel. | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
| <a id="pycross_wheel_build-path_tools"></a>path_tools | A mapping of binaries to names that are placed in PATH when building the sdist. | <a href="https://bazel.build/rules/lib/dict">Dictionary: Label -> String</a> | optional | <code>{}</code> |
| <a id="pycross_wheel_build-post_build_hooks"></a>post_build_hooks | A list of binaries that are executed after the wheel is built. | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
| <a id="pycross_wheel_build-pre_build_hooks"></a>pre_build_hooks | A list of binaries that are executed prior to building the sdist. | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | <code>[]</code> |
| <a id="pycross_wheel_build-sdist"></a>sdist | The sdist file. | <a href="https://bazel.build/concepts/labels">Label</a> | required | |
| <a id="pycross_wheel_build-target_environment"></a>target_environment | The target environment to build for. | <a href="https://bazel.build/concepts/labels">Label</a> | optional | <code>None</code> |

Expand Down
1 change: 1 addition & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.pdm.toml
9 changes: 0 additions & 9 deletions examples/crossenv/README.md

This file was deleted.

95 changes: 0 additions & 95 deletions examples/crossenv/WORKSPACE

This file was deleted.

17 changes: 0 additions & 17 deletions examples/crossenv/deps/BUILD.bazel

This file was deleted.

Loading
Loading