Skip to content

Commit f587fae

Browse files
committed
more cross
1 parent 301a866 commit f587fae

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

devtools/ci.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,12 @@ def build_other_wheels(ctx: Context, no_test: bool):
6565

6666
@ci.command()
6767
@click.option("--no-test", default=False, is_flag=True)
68-
@click.option("--cross", type=pathlib.Path, help="meson cross.txt file")
68+
@click.option(
69+
"--cross",
70+
help="meson cross.txt file (installed at ~/.local/share/meson/NAME/name.txt)",
71+
)
6972
@click.pass_obj
70-
def build_meson_wheels(ctx: Context, no_test: bool, cross: T.Optional[pathlib.Path]):
73+
def build_meson_wheels(ctx: Context, no_test: bool, cross: T.Optional[str]):
7174
"""
7275
Builds wheels that use meson, runs tests.
7376
@@ -87,7 +90,7 @@ def build_meson_wheels(ctx: Context, no_test: bool, cross: T.Optional[pathlib.Pa
8790

8891
config_settings = []
8992
if cross:
90-
config_settings.append("setup-args=--cross-file=" + str(cross.absolute()))
93+
config_settings.append(f"setup-args=--cross-file={cross}")
9194

9295
for project in ctx.subprojects.values():
9396
if not project.is_meson_project():

0 commit comments

Comments
 (0)