BuildMethod¶
- class selene_sim.BuildMethod(value)¶
An enumeration of the different methods that can be used to build a compiled user program as an object file before linking with selene.
The methods are as follows: - VIA_LLVM_BITCODE: Compile the HUGR package to LLVM bitcode, then
link the bitcode to a native object
- VIA_LLVM_IR: Compile the HUGR package to LLVM IR, then link the IR
to a native object
These methods should produce identical objects, but produce intermediate files that may be useful for analysis.
- VIA_LLVM_BITCODE = 'via-llvm-bitcode'¶
- VIA_LLVM_IR = 'via-llvm-ir'¶