thunderboltz.ThunderBoltz.compile_from

ThunderBoltz.compile_from(src_path, debug=False)[source]

Copy TB files from src_path and compile in simulation directory.

Parameters:
  • src_path (str) – The location of the source files to compile from.

  • debug (bool) – If True, compile C++ with the -g debug flag.

Raises:

RuntimeError – if there is a compilation issue.