Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
GppCompilerStrategy.h
Go to the documentation of this file.
1#ifndef GPP_COMPILER_STRATEGY_H
2#define GPP_COMPILER_STRATEGY_H
3
4#include <cstdlib>
5
6#include "FileNameManager.h"
7#include "CompilerStrategy.h"
8#include "config.hpp"
9
10
33public:
42
53 void compile_run(const std::string& sourceFile, const std::string& outputBinary) override;
54
67 void compile(const std::string& sourceFile, const std::string& outputBinary) override;
68};
69
70#endif
Declares compilation strategies and utilities for executing shell commands.
Manages file and directory names for generated MARTY code and assets.
Abstract base class for compilation and run strategies.
std::string model
Model name.
std::string wilson
Wilson basis / label name.
Compilation strategy using the g++ compiler.
void compile(const std::string &sourceFile, const std::string &outputBinary) override
Compiles the given source file using g++ and links against MARTY.
void compile_run(const std::string &sourceFile, const std::string &outputBinary) override
Compiles if necessary and then runs the resulting binary.
GppCompilerStrategy(std::string model, std::string wilson)
Constructs a GppCompilerStrategy for a given (model, wilson) pair.