From b6e244b6ebcfd9b28bd3d15fab1a27028a69e65b Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Thu, 8 May 2025 15:01:08 +0900 Subject: [PATCH] [common-artifacts] Python package list for U24.04 This will fill python package list for Ubuntu 24.04 ONE-DCO-1.0-Signed-off-by: SaeHie Park --- compiler/common-artifacts/CMakeLists.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/compiler/common-artifacts/CMakeLists.txt b/compiler/common-artifacts/CMakeLists.txt index 846210b13de..b37c726f387 100644 --- a/compiler/common-artifacts/CMakeLists.txt +++ b/compiler/common-artifacts/CMakeLists.txt @@ -103,8 +103,22 @@ elseif (PYTHON_VERSION_MINOR EQUAL 10) list(APPEND PY_PKG_LIST "h5py==3.11.0") list(APPEND PY_PKG_LIST "cffi==1.16.0") list(APPEND PY_PKG_LIST "numpy==1.26.4") +elseif (PYTHON_VERSION_MINOR EQUAL 12) + # python 3.12; Ubuntu 24.04 + # TF2.19.0 release at 2025-03-12 + if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64") + list(APPEND PY_PKG_LIST "tensorflow==2.19.0") + else(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64") + list(APPEND PY_PKG_LIST "tensorflow-cpu==2.19.0") + endif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64") + list(APPEND PY_PKG_LIST "flatbuffers==24.3.25") + list(APPEND PY_PKG_LIST "protobuf==4.23.3") + list(APPEND PY_PKG_LIST "pydot==1.4.2") + list(APPEND PY_PKG_LIST "pytest==7.4.3") + list(APPEND PY_PKG_LIST "h5py==3.11.0") + list(APPEND PY_PKG_LIST "cffi==1.16.0") + list(APPEND PY_PKG_LIST "numpy==1.26.4") else() - # TODO add for 12 # should not enter here message(FATAL_ERROR "Build common-artifacts: FAILED (Invalid pyhon version)") endif()