Skip to content

Commit

Permalink
Build two variants: one for cloud and one for conda-forge (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdblischak committed Mar 19, 2024
1 parent 6d5fc11 commit 136b73f
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 24 deletions.
8 changes: 6 additions & 2 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -15,7 +15,7 @@ cxx_compiler_version:
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
fmt:
- '9'
- '10'
numpy:
- '1.22'
- '1.23'
Expand All @@ -37,13 +37,14 @@ r_base:
- '4.2'
- '4.3'
spdlog:
- '1.11'
- '1.12'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - fmt
- - channel_sources
- fmt
- spdlog
- - python
- numpy
50 changes: 50 additions & 0 deletions .ci_support/linux_64_fmt9spdlog1.11.yaml
@@ -0,0 +1,50 @@
c_compiler:
- gcc
c_compiler_version:
- '12'
cdt_name:
- cos6
channel_sources:
- tiledb/label/for-cloud,conda-forge,tiledb
channel_targets:
- tiledb main
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
fmt:
- '9'
numpy:
- '1.22'
- '1.23'
- '1.22'
- '1.22'
pin_run_as_build:
python:
min_pin: x.x
max_pin: x.x
r-base:
min_pin: x.x
max_pin: x.x
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
- 3.8.* *_cpython
- 3.9.* *_cpython
r_base:
- '4.2'
- '4.3'
spdlog:
- '1.11'
target_platform:
- linux-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - channel_sources
- fmt
- spdlog
- - python
- numpy
6 changes: 2 additions & 4 deletions .ci_support/osx_64_.yaml
Expand Up @@ -15,7 +15,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
fmt:
- '9'
- '10'
macos_machine:
- x86_64-apple-darwin13.4.0
numpy:
Expand All @@ -39,13 +39,11 @@ r_base:
- '4.2'
- '4.3'
spdlog:
- '1.11'
- '1.12'
target_platform:
- osx-64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - fmt
- spdlog
- - python
- numpy
6 changes: 2 additions & 4 deletions .ci_support/osx_arm64_.yaml
Expand Up @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
fmt:
- '9'
- '10'
macos_machine:
- arm64-apple-darwin20.0.0
numpy:
Expand All @@ -37,13 +37,11 @@ r_base:
- '4.2'
- '4.3'
spdlog:
- '1.11'
- '1.12'
target_platform:
- osx-arm64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - fmt
- spdlog
- - python
- numpy
11 changes: 9 additions & 2 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 15 additions & 9 deletions recipe/conda_build_config.yaml
Expand Up @@ -4,18 +4,24 @@ MACOSX_SDK_VERSION: # [osx and x86_64]
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- "11.0" # [osx and x86_64]
channel_sources:
- tiledb/label/for-cloud,conda-forge,tiledb # [linux]
- conda-forge,tiledb
channel_targets:
- tiledb main
channel_priority:
- strict
# conda-forge has migrated to fmt 10 and spdlog 1.12. We need fmt 9 to install
# into our existing TileDB Cloud conda environments, so we are going to delay
# the migration of this feedstock.
fmt:
- 9
spdlog:
- 1.11
zip_keys:
- fmt
- spdlog
# into our existing TileDB Cloud conda environments, so we build a special
# variant of fmt 9 and spdlog 1.11. And because this can no longer solve with
# conda-forge depedencies, we install the "for-cloud" tiledb binary from
# tiledb/label/for-cloud
fmt: # [linux]
- 9 # [linux]
- 10 # [linux]
spdlog: # [linux]
- 1.11 # [linux]
- 1.12 # [linux]
zip_keys: # [linux]
- channel_sources # [linux]
- fmt # [linux]
- spdlog # [linux]

0 comments on commit 136b73f

Please sign in to comment.