Skip to content

Dev: Building From Feedstock

Julien Jerphanion edited this page Sep 1, 2023 · 3 revisions

The ArcticDB feedstock is here.

There two options to build the feedstock recipe:

Docker Image

  • Have docker installed and the deamon up

  • Run:

python build-locally.py
  • Select the variant you want to build

conda-build from a conda environment

To test building from it:

  • Install Mambaforge
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
bash ./Mambaforge-Linux-x86_64.sh
  • Create env:
mamba create -n arcticdb
mamba activate arcticdb
  • Install build tools:
mamba install conda-build git
  • From the feedstock recipe/ directory, run:
conda-build -c conda-forge .

(I had to comment out the patches section in meta.yaml to get this to work)

  • This takes a long time. When it's done, run the below to install it. You can then test it.
mamba install -c local arcticdb

Installing (even force reinstalling) did not work for me when ArcticDB was already installed. You might need to run mamba remove arcticdb before the step above if it is already installed.