Build the hkl C library (described here as libhkl) for hklpy. Publish on conda-forge using the hkl-feedstock.
GH tag | GH release | conda-forge | License |
---|---|---|---|
This repository is for hklpy developers, to build a new version of the
libhkl.so
library used by hklpy for
diffractometer calculations and operations within the Bluesky
Framework. For more details, see the project
documentation.
You'll need docker (or equal).
- Build
libhkl.tar.gz
from source using a docker VM.- Open a terminal in the root directory of this repo.
- Start the
host-bridge
network in docker if you have not done this already:make -C builder net
- Build and run the
builder
VM:make -C builder build run
- Leave this VM running for the next step.
- Verify there are no errors with this build.
- Test
libhkl.tar.gz
with conda using a docker VM.- Open a separate terminal in the root directory of this repo.
- Build and run the
tests
VM:make -C tests libhkl build run
If no errors are returned from both steps, then the new library tarball is
available in ./tests/libhkl.tar.gz
. At this point, you can close both of these docker VMs.