From d674067d58108fe1079abae0731277baa854dbfb Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Mon, 24 Jul 2023 11:45:31 -0400 Subject: [PATCH 1/2] Update conda build/host deps to avoid overlinking --- conda/recipes/meta.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conda/recipes/meta.yaml b/conda/recipes/meta.yaml index e2bb8bee3..799223a6f 100644 --- a/conda/recipes/meta.yaml +++ b/conda/recipes/meta.yaml @@ -34,11 +34,15 @@ build: number: 0 requirements: + build: + - {{ compiler('rust') }} + - {{ compiler('c') }} # [linux] host: - python >=3.7 - maturin >=0.15,<0.16 - libprotobuf =3 - pip + - xz # [linux] run: - python >=3.7 - pyarrow >=11.0.0 From 242ec6ea597f084e61feb4dbe32a8e4e2d9ad215 Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Mon, 24 Jul 2023 10:00:29 -0700 Subject: [PATCH 2/2] Add required build deps --- conda/recipes/conda_build_config.yaml | 4 ++++ conda/recipes/meta.yaml | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 conda/recipes/conda_build_config.yaml diff --git a/conda/recipes/conda_build_config.yaml b/conda/recipes/conda_build_config.yaml new file mode 100644 index 000000000..f20fae593 --- /dev/null +++ b/conda/recipes/conda_build_config.yaml @@ -0,0 +1,4 @@ +rust_compiler_version: + - 1.64 +libprotobuf: + - 3 \ No newline at end of file diff --git a/conda/recipes/meta.yaml b/conda/recipes/meta.yaml index 799223a6f..78d1287de 100644 --- a/conda/recipes/meta.yaml +++ b/conda/recipes/meta.yaml @@ -35,13 +35,16 @@ build: requirements: build: + - libprotobuf # [build_platform != target_platform] + - zlib # [build_platform != target_platform] - {{ compiler('rust') }} - - {{ compiler('c') }} # [linux] + - {{ compiler('c') }} # [linux] host: - python >=3.7 - maturin >=0.15,<0.16 - - libprotobuf =3 + - libprotobuf - pip + - zlib - xz # [linux] run: - python >=3.7