Merge remote-tracking branch 'origin/arm-build-pipeline' into integration_2025_w12 (!3286)

Add support for ARM build pipeline

Modify the existing python code to be able to build images where the
image tag can be prepended with a prefix, here arm_. This is preparatory
work to create the ARM build image pipeline, and reuse the existing
internal registry on porcepix to have x86 and ARM images coexist.

Fix various bugs in the build system to allow to build on a system with
as many cores as gracehopper.

Also, fix two programs (usim, nvram) to work correctly under ARM.
This commit is contained in:
Robert Schmidt
2025-03-24 14:45:12 +01:00
21 changed files with 228 additions and 32 deletions
+1
View File
@@ -4,3 +4,4 @@ add_library(nas_common_ies_lib OBJECT
)
target_include_directories(nas_common_ies_lib PUBLIC .)
target_link_libraries(nas_common_ies_lib PUBLIC log_headers)
+1
View File
@@ -2,5 +2,6 @@ add_library(nas_utils OBJECT
TLVDecoder.c
OctetString.c
)
target_link_libraries(nas_utils PUBLIC log_headers)
target_include_directories(nas_utils PRIVATE .)
@@ -8,6 +8,7 @@ add_library(fgs_5gmm_ies_lib OBJECT
SORTransparentContainer.c
)
target_link_libraries(fgs_5gmm_ies_lib PUBLIC
nas_common_ies_lib
target_link_libraries(fgs_5gmm_ies_lib
PUBLIC nas_common_ies_lib
PRIVATE log_headers
)
@@ -1,6 +1,6 @@
add_library(fgs_5gsm_lib OBJECT PduSessionEstablishRequest.c
PduSessionEstablishmentAccept.c)
target_link_libraries(fgs_5gsm_lib PUBLIC nas_common_ies_lib)
target_link_libraries(fgs_5gsm_lib PUBLIC nas_common_ies_lib log_headers)
target_include_directories(fgs_5gsm_lib PUBLIC . ../../)
+3 -1
View File
@@ -69,7 +69,7 @@ int main (int argc, char * const argv[])
{NULL, 0, NULL, 0}
};
int option_index;
char option_short;
int option_short;
/*
* Read command line parameters
@@ -94,6 +94,8 @@ int main (int argc, char * const argv[])
output_dir = optarg;
break;
default:
fprintf(stderr, "unknown option %d, exit\n", option_short);
exit(1);
break;
}
}
+3 -1
View File
@@ -69,7 +69,7 @@ int main (int argc, char * const argv[])
{NULL, 0, NULL, 0}
};
int option_index;
char option_short;
int option_short;
/*
* Read command line parameters
@@ -94,6 +94,8 @@ int main (int argc, char * const argv[])
output_dir = optarg;
break;
default:
fprintf(stderr, "unknown option %d, exit\n", option_short);
exit(1);
break;
}
}
+1
View File
@@ -3,6 +3,7 @@ add_library(usim_lib OBJECT
aka_functions.c
usim_api.c
)
target_link_libraries(usim_lib PRIVATE log_headers)
target_include_directories(usim_lib PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
+1
View File
@@ -1,2 +1,3 @@
add_library(lib_uicc OBJECT usim_interface.c)
target_include_directories(lib_uicc PRIVATE .)
target_link_libraries(lib_uicc PRIVATE log_headers)