Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / tensorflow
Commits: 7a27ccb4 by loqs at 2023-11-28T14:17:56+00:00 export TF_PYTHON_VERSION TF_PYTHON_VERSION sets the python version. If not set it defaults to 3.10 for v2.15.0 [1]. [1]: https://github.com/tensorflow/tensorflow/blob/6887368d6d46223f460358323c4b76d61d1558a8/tensorflow/tools/toolchains/python/python_repo.bzl#L8 - - - - - 5628b8cb by loqs at 2023-11-28T14:18:02+00:00 Add dependency on python-ml-dtypes. Required since upstream commit 075650f5b215394b3e124ba269da53ff228fe15b [1]. [1]: https://github.com/tensorflow/tensorflow/commit/075650f5b215394b3e124ba269da53ff228fe15b - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -29,7 +29,7 @@ sha512sums=('51976c7255ffbdb98fe67a28f6ae1c3b9a073e49fe6b44187a53d99654e4af753de _common_py_depends=(python-termcolor python-astor python-gast03 python-numpy python-protobuf absl-py python-h5py python-keras python-keras-applications python-keras-preprocessing python-tensorflow-estimator python-opt_einsum python-astunparse python-pasta - python-flatbuffers python-typing_extensions) + python-flatbuffers python-typing_extensions python-ml-dtypes) get_pyver () { python -c 'import sys; print(str(sys.version_info[0]) + "." + str(sys.version_info[1]))' @@ -72,8 +72,6 @@ prepare() { cp -r tensorflow-${_pkgver} tensorflow-${_pkgver}-opt-cuda # These environment variables influence the behavior of the configure call below. - export PYTHON_BIN_PATH=/usr/bin/python - export USE_DEFAULT_PYTHON_LIB_PATH=1 export TF_NEED_JEMALLOC=1 export TF_NEED_KAFKA=1 export TF_NEED_OPENCL_SYCL=0 @@ -115,6 +113,9 @@ prepare() { # add latest PTX for future compatibility # Valid values can be discovered from nvcc --help export TF_CUDA_COMPUTE_CAPABILITIES=sm_52,sm_53,sm_60,sm_61,sm_62,sm_70,sm_72,sm_75,sm_80,sm_86,sm_87,sm_89,sm_90,compute_90 + export TF_PYTHON_VERSION=$(get_pyver) + export PYTHON_BIN_PATH=/usr/bin/python$(get_pyver) + export USE_DEFAULT_PYTHON_LIB_PATH=1 export BAZEL_ARGS="--config=mkl -c opt" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/tensorflow/-/compare/ec774638e7439986cc25d0a756145cfa3a07941b...5628b8cb29a8523ac82ccaadaa99bc67b7ee0703 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/tensorflow/-/compare/ec774638e7439986cc25d0a756145cfa3a07941b...5628b8cb29a8523ac82ccaadaa99bc67b7ee0703 You're receiving this email because of your account on gitlab.archlinux.org.
