Skip to content

bluesky/libhkl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libhkl

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
tag release conda-forge license: GPLv3

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.

Build the file libhkl.tar.gz

You'll need docker (or equal).

  1. Build libhkl.tar.gz from source using a docker VM.
    1. Open a terminal in the root directory of this repo.
    2. Start the host-bridge network in docker if you have not done this already: make -C builder net
    3. Build and run the builder VM: make -C builder build run
    4. Leave this VM running for the next step.
  2. Verify there are no errors with this build.
  3. Test libhkl.tar.gz with conda using a docker VM.
    1. Open a separate terminal in the root directory of this repo.
    2. 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.