Build The Tool

Guide for building the tool when asked by the user or testing a code change that requires a new build of the tool

llnl b04beac 1023 B Updated

File contents

To build the tool, follow these steps:

  1. Make sure the clang++ compiler is available on your system. You can check this by running clang++ --version in your terminal. The current supported version is 19.

  2. If not available, a conda enviroment like the following can be loaded:

source ~/.bashrc
conda activate tutorial_env
  1. Move to the directory build inside the project root.

  2. If the build directory does not exist, create it and configure it like this:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=./install ..
  1. Build the tool using the following command:
make -j 4
  1. Install the tool using the following command:
make install
  1. After installing, one must add the bin directory of the install directory to the PATH environment variable.
export PATH=$PATH:/path/to/install/bin

llnl/fpchecker/tree/main/.agents/skills/build-the-tool commit b04beac8e7

Frequently asked questions

npx skillmds@latest add llnl/build-the-tool