Skip to content

Commit 3ed42a2

Browse files
authored
[common-artifacts] Python package list for U24.04 (#15322)
This will fill python package list for Ubuntu 24.04 ONE-DCO-1.0-Signed-off-by: SaeHie Park <[email protected]>
1 parent b7ef4ca commit 3ed42a2

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

compiler/common-artifacts/CMakeLists.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,22 @@ elseif (PYTHON_VERSION_MINOR EQUAL 10)
103103
list(APPEND PY_PKG_LIST "h5py==3.11.0")
104104
list(APPEND PY_PKG_LIST "cffi==1.16.0")
105105
list(APPEND PY_PKG_LIST "numpy==1.26.4")
106+
elseif (PYTHON_VERSION_MINOR EQUAL 12)
107+
# python 3.12; Ubuntu 24.04
108+
# TF2.19.0 release at 2025-03-12
109+
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
110+
list(APPEND PY_PKG_LIST "tensorflow==2.19.0")
111+
else(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
112+
list(APPEND PY_PKG_LIST "tensorflow-cpu==2.19.0")
113+
endif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
114+
list(APPEND PY_PKG_LIST "flatbuffers==24.3.25")
115+
list(APPEND PY_PKG_LIST "protobuf==4.23.3")
116+
list(APPEND PY_PKG_LIST "pydot==1.4.2")
117+
list(APPEND PY_PKG_LIST "pytest==7.4.3")
118+
list(APPEND PY_PKG_LIST "h5py==3.11.0")
119+
list(APPEND PY_PKG_LIST "cffi==1.16.0")
120+
list(APPEND PY_PKG_LIST "numpy==1.26.4")
106121
else()
107-
# TODO add for 12
108122
# should not enter here
109123
message(FATAL_ERROR "Build common-artifacts: FAILED (Invalid pyhon version)")
110124
endif()

0 commit comments

Comments
 (0)