Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions open_ce/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@
DEFAULT_TEST_RESULT_FILE = "test_results.xml"
DEFAULT_PPC_ARCH = "p9"
DEFAULT_GCC_HOME_DIR = "/opt/rh/gcc-toolset-12/root/usr"
DEFAULT_GCC_13_HOME_DIR = "/opt/rh/gcc-toolset-13/root/usr"
OPENSSL_ENV_FILE = "openssl-env.yaml"
FFMPEG_ENV_FILE = "ffmpeg-env.yaml"
4 changes: 4 additions & 0 deletions open_ce/inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,10 @@ def _check_ppc_arch(args):
print("Path variable set to : ", os.environ["PATH"])
if not os.path.exists(constants.DEFAULT_GCC_HOME_DIR):
raise OpenCEError(Error.GCC12_COMPILER_NOT_FOUND)
if "GCC_13_HOME" not in os.environ:
os.environ["GCC_13_HOME"] = constants.DEFAULT_GCC_13_HOME_DIR
if not os.path.exists(constants.DEFAULT_GCC_HOME_DIR):
raise OpenCEError(Error.GCC12_COMPILER_NOT_FOUND)


def parse_args(parser, arg_strings=None):
Expand Down
Loading