Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.21 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.21 KB

sal_build

If you have cloned this directory and it is your PWD the following commands with generate the scheduler SAL topics based on the master branches of ts_xml, ts_sal, and ts_opensplice.

Build the docker image:

The docker image produced will be called salmaker

bin/build_sal.sh

Run the docker container

You can mount a different local directory than shown here, but make sure the mount point in the container is /home/opsim/sal_libs

docker run -it --rm -v ${PWD}/sal_libs:/home/opsim/sal_libs salmaker build_topics.sh

After running this command you will see the generated libraries in your local sal_libs directory.

Changing branches.

The build_topics.sh script built into the container can change the branches of ts_xml, ts_sal, and ts_opensplice with command line options.

Here is an example command to see how to set them:

docker run -it --rm -v ${PWD}/sal_libs:/home/opsim/sal_libs salmaker build_topics.sh -h

  Available options:
    -o          Version for the ts_opensplice. Defaults to master
    -x          Version for the ts_xml. Defaults to master
    -s          Version for the ts_sal. Defaults to master
    -h          This message