Skip to content

Latest commit

 

History

History
91 lines (70 loc) · 1.78 KB

File metadata and controls

91 lines (70 loc) · 1.78 KB

Development

Prerequisits

Windows

Linux

  • Install Make, CMake, Perl and libevent using your distribution's package manager
    sudo apt install make cmake perl libevent-dev

NI Linux RT

  • Install build dependencies
    opkg install
      git \
      packagegroup-core-buildessential \
      perl-modules \
      libevent-dev \
      cmake

Building dependencies

Windows

  • Build EPICS Base

    set EPICS_HOST_ARCH=windows-x64-static
    make -C epics-base
  • Build PVXS

    echo EPICS_BASE = $(TOP)/../epics-base > pvxs/configure/RELEASE.local
    make -C pvxs/bundle libevent
    make -C pvxs

    See the PVXS docs for more details

Linux and NI Linux RT

  • Build EPICS Base

    make -C epics-base
  • Build PVXS

    cat <<EOF > pvxs/configure/RELEASE.local
    EPICS_BASE = \$(TOP)/../epics-base
    EOF
    make -C pvxs

Building this library

  • Windows
    cmake --preset=windows-x64
    cmake --build --preset=windows-x64
  • Linux
    cmake --preset=linux-x86_64
    cmake --build --preset=linux-x86_64

Packaging NI Linux RT Package

These command must be run on an NI Linux RT target

cmake --preset=nilrt
cmake --build --preset=nilrt
cpack --preset=nilrt