diff --git a/aarch64_external_files.patch b/aarch64_external_files.patch index ef7bcda5539e22995828005af33c25715c4a787f..59fcd1b577498f94ce9b68ee44716bfd7e236ca1 100644 --- a/aarch64_external_files.patch +++ b/aarch64_external_files.patch @@ -1,7 +1,7 @@ diff -Nurp external-x86_64/go_sdk/BUILD.bazel external/go_sdk/BUILD.bazel ---- external-x86_64/go_sdk/BUILD.bazel 2022-11-08 16:26:47.000000000 +0000 -+++ external/go_sdk/BUILD.bazel 2022-11-12 03:43:49.488000000 +0000 -@@ -8,8 +8,8 @@ package(default_visibility = ["//visibil +--- external-x86_64/go_sdk/BUILD.bazel 2023-08-28 15:08:25.000000000 +0800 ++++ external/go_sdk/BUILD.bazel 2023-08-31 11:47:56.000000000 +0800 +@@ -7,8 +7,8 @@ package(default_visibility = ["//visibil filegroup( name = "libs", srcs = glob( @@ -12,39 +12,39 @@ diff -Nurp external-x86_64/go_sdk/BUILD.bazel external/go_sdk/BUILD.bazel ), ) -@@ -31,7 +31,7 @@ filegroup( - go_sdk( +@@ -34,7 +34,7 @@ go_sdk( name = "go_sdk", - goos = "linux", + srcs = [":srcs"], + go = "bin/go", - goarch = "amd64", + goarch = "arm64", - root_file = "ROOT", - package_list = ":package_list", + goos = "linux", + headers = [":headers"], libs = [":libs"], -@@ -57,7 +57,7 @@ package_list( - ) +@@ -60,7 +60,7 @@ package_list( declare_toolchains( + builder = ":builder", - host = "linux_amd64", + host = "linux_arm64", sdk = ":go_sdk", - builder = ":builder", ) -diff -Nurp external-x86_64/go_sdk/src/cmd/internal/objabi/zbootstrap.go external/go_sdk/src/cmd/internal/objabi/zbootstrap.go ---- external-x86_64/go_sdk/src/cmd/internal/objabi/zbootstrap.go 2019-05-06 21:14:57.000000000 +0000 -+++ external/go_sdk/src/cmd/internal/objabi/zbootstrap.go 2019-05-06 21:14:35.000000000 +0000 -@@ -4,7 +4,7 @@ package objabi - import "runtime" - --const defaultGO386 = `sse2` -+const defaultGO386 = `387` - const defaultGOARM = `5` - const defaultGOMIPS = `hardfloat` - const defaultGOMIPS64 = `hardfloat` +diff -Nurp external-x86_64/go_sdk/src/internal/buildcfg/zbootstrap.go external/go_sdk/src/internal/buildcfg/zbootstrap.go +--- external-x86_64/go_sdk/src/internal/buildcfg/zbootstrap.go 2022-07-12 23:23:16.000000000 +0800 ++++ external/go_sdk/src/internal/buildcfg/zbootstrap.go 2022-07-12 23:23:09.000000000 +0800 +@@ -12,7 +12,7 @@ const defaultGOMIPS64 = `hardfloat` + const defaultGOPPC64 = `power8` + const defaultGOEXPERIMENT = `` + const defaultGO_EXTLINK_ENABLED = `` +-const defaultGO_LDSO = `/lib64/ld-linux-x86-64.so.2` ++const defaultGO_LDSO = `/lib/ld-linux-aarch64.so.1` + const version = `go1.18.4` + const defaultGOOS = runtime.GOOS + const defaultGOARCH = runtime.GOARCH diff -Nurp external-x86_64/local_config_cc/BUILD external/local_config_cc/BUILD ---- external-x86_64/local_config_cc/BUILD 2022-11-08 16:27:09.000000000 +0000 -+++ external/local_config_cc/BUILD 2022-11-12 03:44:39.004000000 +0000 +--- external-x86_64/local_config_cc/BUILD 2023-08-30 14:17:49.000000000 +0800 ++++ external/local_config_cc/BUILD 2023-08-31 11:49:36.000000000 +0800 @@ -47,15 +47,15 @@ filegroup( cc_toolchain_suite( name = "toolchain", @@ -77,34 +77,34 @@ diff -Nurp external-x86_64/local_config_cc/BUILD external/local_config_cc/BUILD target_libc = "local", abi_version = "local", abi_libc_version = "local", -- cxx_builtin_include_directories = ["/usr/lib/gcc/x86_64-linux-gnu/10.3.1/include", -+ cxx_builtin_include_directories = ["/usr/lib/gcc/aarch64-linux-gnu/10.3.1/include", +- cxx_builtin_include_directories = ["/usr/lib/gcc/x86_64-openEuler-linux/12/include", ++ cxx_builtin_include_directories = ["/usr/lib/gcc/aarch64-openEuler-linux/12/include", "/usr/local/include", "/usr/include", - "/usr/include/c++/10.3.1", -- "/usr/include/c++/10.3.1/x86_64-linux-gnu", -+ "/usr/include/c++/10.3.1/aarch64-linux-gnu", - "/usr/include/c++/10.3.1/backward"], + "/usr/include/c++/12", +- "/usr/include/c++/12/x86_64-openEuler-linux", ++ "/usr/include/c++/12/aarch64-openEuler-linux", + "/usr/include/c++/12/backward"], tool_paths = {"ar": "/usr/bin/ar", "ld": "/usr/bin/ld", diff -Nurp external-x86_64/local_config_cc/builtin_include_directory_paths external/local_config_cc/builtin_include_directory_paths ---- external-x86_64/local_config_cc/builtin_include_directory_paths 2022-11-08 16:27:08.000000000 +0000 -+++ external/local_config_cc/builtin_include_directory_paths 2022-11-12 03:44:33.464000000 +0000 +--- external-x86_64/local_config_cc/builtin_include_directory_paths 2023-08-30 14:17:48.000000000 +0800 ++++ external/local_config_cc/builtin_include_directory_paths 2023-08-31 11:49:24.000000000 +0800 @@ -4,9 +4,9 @@ changes to it will be reflected in the a paths change, Bazel will make sure to rerun the action, even though none of declared action inputs or the action commandline changes. --/usr/lib/gcc/x86_64-linux-gnu/10.3.1/include -+/usr/lib/gcc/aarch64-linux-gnu/10.3.1/include +-/usr/lib/gcc/x86_64-openEuler-linux/12/include ++/usr/lib/gcc/aarch64-openEuler-linux/12/include /usr/local/include /usr/include - /usr/include/c++/10.3.1 --/usr/include/c++/10.3.1/x86_64-linux-gnu -+/usr/include/c++/10.3.1/aarch64-linux-gnu - /usr/include/c++/10.3.1/backward + /usr/include/c++/12 +-/usr/include/c++/12/x86_64-openEuler-linux ++/usr/include/c++/12/aarch64-openEuler-linux + /usr/include/c++/12/backward diff -Nurp external-x86_64/local_config_cc_toolchains/BUILD external/local_config_cc_toolchains/BUILD ---- external-x86_64/local_config_cc_toolchains/BUILD 2022-11-08 16:26:47.000000000 +0000 -+++ external/local_config_cc_toolchains/BUILD 2022-11-12 03:43:46.460000000 +0000 +--- external-x86_64/local_config_cc_toolchains/BUILD 2023-08-30 14:17:45.000000000 +0800 ++++ external/local_config_cc_toolchains/BUILD 2023-08-31 11:47:52.000000000 +0800 @@ -1,10 +1,10 @@ load("@local_config_platform//:constraints.bzl", "HOST_CONSTRAINTS") @@ -118,347 +118,27 @@ diff -Nurp external-x86_64/local_config_cc_toolchains/BUILD external/local_confi toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", ) -diff -Nurp external-x86_64/local_config_python/BUILD external/local_config_python/BUILD ---- external-x86_64/local_config_python/BUILD 2022-11-08 16:26:48.000000000 +0000 -+++ external/local_config_python/BUILD 2022-11-12 03:44:04.400000000 +0000 -@@ -78,8 +78,12 @@ config_setting( - genrule( - name = "python_include", - outs = [ -+ "python_include/Python-ast.h", - "python_include/Python.h", - "python_include/abstract.h", -+ "python_include/asdl.h", -+ "python_include/ast.h", -+ "python_include/bitset.h", - "python_include/bltinmodule.h", - "python_include/boolobject.h", - "python_include/bytearrayobject.h", -@@ -97,7 +101,6 @@ genrule( - "python_include/cpython/bytesobject.h", - "python_include/cpython/ceval.h", - "python_include/cpython/code.h", -- "python_include/cpython/compile.h", - "python_include/cpython/dictobject.h", - "python_include/cpython/fileobject.h", - "python_include/cpython/fileutils.h", -@@ -109,17 +112,10 @@ genrule( - "python_include/cpython/methodobject.h", - "python_include/cpython/object.h", - "python_include/cpython/objimpl.h", -- "python_include/cpython/odictobject.h", -- "python_include/cpython/picklebufobject.h", -- "python_include/cpython/pyctype.h", -- "python_include/cpython/pydebug.h", - "python_include/cpython/pyerrors.h", -- "python_include/cpython/pyfpe.h", - "python_include/cpython/pylifecycle.h", - "python_include/cpython/pymem.h", - "python_include/cpython/pystate.h", -- "python_include/cpython/pythonrun.h", -- "python_include/cpython/pytime.h", - "python_include/cpython/sysmodule.h", - "python_include/cpython/traceback.h", - "python_include/cpython/tupleobject.h", -@@ -139,26 +135,22 @@ genrule( - "python_include/funcobject.h", - "python_include/genericaliasobject.h", - "python_include/genobject.h", -+ "python_include/graminit.h", -+ "python_include/grammar.h", - "python_include/import.h", -+ "python_include/internal/pegen_interface.h", - "python_include/internal/pycore_abstract.h", - "python_include/internal/pycore_accu.h", -- "python_include/internal/pycore_asdl.h", -- "python_include/internal/pycore_ast.h", -- "python_include/internal/pycore_ast_state.h", - "python_include/internal/pycore_atomic.h", -- "python_include/internal/pycore_atomic_funcs.h", -- "python_include/internal/pycore_bitutils.h", -- "python_include/internal/pycore_blocks_output_buffer.h", - "python_include/internal/pycore_bytes_methods.h", -+ "python_include/internal/pycore_byteswap.h", - "python_include/internal/pycore_call.h", - "python_include/internal/pycore_ceval.h", - "python_include/internal/pycore_code.h", -- "python_include/internal/pycore_compile.h", - "python_include/internal/pycore_condvar.h", - "python_include/internal/pycore_context.h", - "python_include/internal/pycore_dtoa.h", - "python_include/internal/pycore_fileutils.h", -- "python_include/internal/pycore_format.h", - "python_include/internal/pycore_gc.h", - "python_include/internal/pycore_getopt.h", - "python_include/internal/pycore_gil.h", -@@ -167,26 +159,17 @@ genrule( - "python_include/internal/pycore_import.h", - "python_include/internal/pycore_initconfig.h", - "python_include/internal/pycore_interp.h", -- "python_include/internal/pycore_list.h", -- "python_include/internal/pycore_long.h", -- "python_include/internal/pycore_moduleobject.h", - "python_include/internal/pycore_object.h", -- "python_include/internal/pycore_parser.h", - "python_include/internal/pycore_pathconfig.h", -- "python_include/internal/pycore_pyarena.h", - "python_include/internal/pycore_pyerrors.h", - "python_include/internal/pycore_pyhash.h", - "python_include/internal/pycore_pylifecycle.h", - "python_include/internal/pycore_pymem.h", - "python_include/internal/pycore_pystate.h", - "python_include/internal/pycore_runtime.h", -- "python_include/internal/pycore_structseq.h", -- "python_include/internal/pycore_symtable.h", - "python_include/internal/pycore_sysmodule.h", - "python_include/internal/pycore_traceback.h", -- "python_include/internal/pycore_tuple.h", -- "python_include/internal/pycore_ucnhash.h", -- "python_include/internal/pycore_unionobject.h", -+ "python_include/internal/pycore_tupleobject.h", - "python_include/internal/pycore_warnings.h", - "python_include/interpreteridobject.h", - "python_include/intrcheck.h", -@@ -200,19 +183,27 @@ genrule( - "python_include/modsupport.h", - "python_include/moduleobject.h", - "python_include/namespaceobject.h", -+ "python_include/node.h", - "python_include/object.h", - "python_include/objimpl.h", -+ "python_include/odictobject.h", - "python_include/opcode.h", - "python_include/osdefs.h", - "python_include/osmodule.h", -+ "python_include/parsetok.h", - "python_include/patchlevel.h", -+ "python_include/picklebufobject.h", - "python_include/py_curses.h", -+ "python_include/pyarena.h", - "python_include/pycapsule.h", - "python_include/pyconfig-64.h", - "python_include/pyconfig.h", -+ "python_include/pyctype.h", -+ "python_include/pydebug.h", - "python_include/pydtrace.h", - "python_include/pyerrors.h", - "python_include/pyexpat.h", -+ "python_include/pyfpe.h", - "python_include/pyframe.h", - "python_include/pyhash.h", - "python_include/pylifecycle.h", -@@ -227,23 +218,26 @@ genrule( - "python_include/pystrtod.h", - "python_include/pythonrun.h", - "python_include/pythread.h", -+ "python_include/pytime.h", - "python_include/rangeobject.h", - "python_include/setobject.h", - "python_include/sliceobject.h", - "python_include/structmember.h", - "python_include/structseq.h", -+ "python_include/symtable.h", - "python_include/sysmodule.h", - "python_include/token.h", - "python_include/traceback.h", - "python_include/tracemalloc.h", - "python_include/tupleobject.h", - "python_include/typeslots.h", -+ "python_include/ucnhash.h", - "python_include/unicodeobject.h", - "python_include/warnings.h", - "python_include/weakrefobject.h", - ], - cmd = """ --cp -f "/usr/include/python3.10/Python.h" "$(@D)/python_include/Python.h" && cp -f "/usr/include/python3.10/abstract.h" "$(@D)/python_include/abstract.h" && cp -f "/usr/include/python3.10/bltinmodule.h" "$(@D)/python_include/bltinmodule.h" && cp -f "/usr/include/python3.10/boolobject.h" "$(@D)/python_include/boolobject.h" && cp -f "/usr/include/python3.10/bytearrayobject.h" "$(@D)/python_include/bytearrayobject.h" && cp -f "/usr/include/python3.10/bytesobject.h" "$(@D)/python_include/bytesobject.h" && cp -f "/usr/include/python3.10/cellobject.h" "$(@D)/python_include/cellobject.h" && cp -f "/usr/include/python3.10/ceval.h" "$(@D)/python_include/ceval.h" && cp -f "/usr/include/python3.10/classobject.h" "$(@D)/python_include/classobject.h" && cp -f "/usr/include/python3.10/code.h" "$(@D)/python_include/code.h" && cp -f "/usr/include/python3.10/codecs.h" "$(@D)/python_include/codecs.h" && cp -f "/usr/include/python3.10/compile.h" "$(@D)/python_include/compile.h" && cp -f "/usr/include/python3.10/complexobject.h" "$(@D)/python_include/complexobject.h" && cp -f "/usr/include/python3.10/context.h" "$(@D)/python_include/context.h" && cp -f "/usr/include/python3.10/cpython/abstract.h" "$(@D)/python_include/cpython/abstract.h" && cp -f "/usr/include/python3.10/cpython/bytearrayobject.h" "$(@D)/python_include/cpython/bytearrayobject.h" && cp -f "/usr/include/python3.10/cpython/bytesobject.h" "$(@D)/python_include/cpython/bytesobject.h" && cp -f "/usr/include/python3.10/cpython/ceval.h" "$(@D)/python_include/cpython/ceval.h" && cp -f "/usr/include/python3.10/cpython/code.h" "$(@D)/python_include/cpython/code.h" && cp -f "/usr/include/python3.10/cpython/compile.h" "$(@D)/python_include/cpython/compile.h" && cp -f "/usr/include/python3.10/cpython/dictobject.h" "$(@D)/python_include/cpython/dictobject.h" && cp -f "/usr/include/python3.10/cpython/fileobject.h" "$(@D)/python_include/cpython/fileobject.h" && cp -f "/usr/include/python3.10/cpython/fileutils.h" "$(@D)/python_include/cpython/fileutils.h" && cp -f "/usr/include/python3.10/cpython/frameobject.h" "$(@D)/python_include/cpython/frameobject.h" && cp -f "/usr/include/python3.10/cpython/import.h" "$(@D)/python_include/cpython/import.h" && cp -f "/usr/include/python3.10/cpython/initconfig.h" "$(@D)/python_include/cpython/initconfig.h" && cp -f "/usr/include/python3.10/cpython/interpreteridobject.h" "$(@D)/python_include/cpython/interpreteridobject.h" && cp -f "/usr/include/python3.10/cpython/listobject.h" "$(@D)/python_include/cpython/listobject.h" && cp -f "/usr/include/python3.10/cpython/methodobject.h" "$(@D)/python_include/cpython/methodobject.h" && cp -f "/usr/include/python3.10/cpython/object.h" "$(@D)/python_include/cpython/object.h" && cp -f "/usr/include/python3.10/cpython/objimpl.h" "$(@D)/python_include/cpython/objimpl.h" && cp -f "/usr/include/python3.10/cpython/odictobject.h" "$(@D)/python_include/cpython/odictobject.h" && cp -f "/usr/include/python3.10/cpython/picklebufobject.h" "$(@D)/python_include/cpython/picklebufobject.h" && cp -f "/usr/include/python3.10/cpython/pyctype.h" "$(@D)/python_include/cpython/pyctype.h" && cp -f "/usr/include/python3.10/cpython/pydebug.h" "$(@D)/python_include/cpython/pydebug.h" && cp -f "/usr/include/python3.10/cpython/pyerrors.h" "$(@D)/python_include/cpython/pyerrors.h" && cp -f "/usr/include/python3.10/cpython/pyfpe.h" "$(@D)/python_include/cpython/pyfpe.h" && cp -f "/usr/include/python3.10/cpython/pylifecycle.h" "$(@D)/python_include/cpython/pylifecycle.h" && cp -f "/usr/include/python3.10/cpython/pymem.h" "$(@D)/python_include/cpython/pymem.h" && cp -f "/usr/include/python3.10/cpython/pystate.h" "$(@D)/python_include/cpython/pystate.h" && cp -f "/usr/include/python3.10/cpython/pythonrun.h" "$(@D)/python_include/cpython/pythonrun.h" && cp -f "/usr/include/python3.10/cpython/pytime.h" "$(@D)/python_include/cpython/pytime.h" && cp -f "/usr/include/python3.10/cpython/sysmodule.h" "$(@D)/python_include/cpython/sysmodule.h" && cp -f "/usr/include/python3.10/cpython/traceback.h" "$(@D)/python_include/cpython/traceback.h" && cp -f "/usr/include/python3.10/cpython/tupleobject.h" "$(@D)/python_include/cpython/tupleobject.h" && cp -f "/usr/include/python3.10/cpython/unicodeobject.h" "$(@D)/python_include/cpython/unicodeobject.h" && cp -f "/usr/include/python3.10/datetime.h" "$(@D)/python_include/datetime.h" && cp -f "/usr/include/python3.10/descrobject.h" "$(@D)/python_include/descrobject.h" && cp -f "/usr/include/python3.10/dictobject.h" "$(@D)/python_include/dictobject.h" && cp -f "/usr/include/python3.10/dynamic_annotations.h" "$(@D)/python_include/dynamic_annotations.h" && cp -f "/usr/include/python3.10/enumobject.h" "$(@D)/python_include/enumobject.h" && cp -f "/usr/include/python3.10/errcode.h" "$(@D)/python_include/errcode.h" && cp -f "/usr/include/python3.10/eval.h" "$(@D)/python_include/eval.h" && cp -f "/usr/include/python3.10/exports.h" "$(@D)/python_include/exports.h" && cp -f "/usr/include/python3.10/fileobject.h" "$(@D)/python_include/fileobject.h" && cp -f "/usr/include/python3.10/fileutils.h" "$(@D)/python_include/fileutils.h" && cp -f "/usr/include/python3.10/floatobject.h" "$(@D)/python_include/floatobject.h" && cp -f "/usr/include/python3.10/frameobject.h" "$(@D)/python_include/frameobject.h" && cp -f "/usr/include/python3.10/funcobject.h" "$(@D)/python_include/funcobject.h" && cp -f "/usr/include/python3.10/genericaliasobject.h" "$(@D)/python_include/genericaliasobject.h" && cp -f "/usr/include/python3.10/genobject.h" "$(@D)/python_include/genobject.h" && cp -f "/usr/include/python3.10/import.h" "$(@D)/python_include/import.h" && cp -f "/usr/include/python3.10/internal/pycore_abstract.h" "$(@D)/python_include/internal/pycore_abstract.h" && cp -f "/usr/include/python3.10/internal/pycore_accu.h" "$(@D)/python_include/internal/pycore_accu.h" && cp -f "/usr/include/python3.10/internal/pycore_asdl.h" "$(@D)/python_include/internal/pycore_asdl.h" && cp -f "/usr/include/python3.10/internal/pycore_ast.h" "$(@D)/python_include/internal/pycore_ast.h" && cp -f "/usr/include/python3.10/internal/pycore_ast_state.h" "$(@D)/python_include/internal/pycore_ast_state.h" && cp -f "/usr/include/python3.10/internal/pycore_atomic.h" "$(@D)/python_include/internal/pycore_atomic.h" && cp -f "/usr/include/python3.10/internal/pycore_atomic_funcs.h" "$(@D)/python_include/internal/pycore_atomic_funcs.h" && cp -f "/usr/include/python3.10/internal/pycore_bitutils.h" "$(@D)/python_include/internal/pycore_bitutils.h" && cp -f "/usr/include/python3.10/internal/pycore_blocks_output_buffer.h" "$(@D)/python_include/internal/pycore_blocks_output_buffer.h" && cp -f "/usr/include/python3.10/internal/pycore_bytes_methods.h" "$(@D)/python_include/internal/pycore_bytes_methods.h" && cp -f "/usr/include/python3.10/internal/pycore_call.h" "$(@D)/python_include/internal/pycore_call.h" && cp -f "/usr/include/python3.10/internal/pycore_ceval.h" "$(@D)/python_include/internal/pycore_ceval.h" && cp -f "/usr/include/python3.10/internal/pycore_code.h" "$(@D)/python_include/internal/pycore_code.h" && cp -f "/usr/include/python3.10/internal/pycore_compile.h" "$(@D)/python_include/internal/pycore_compile.h" && cp -f "/usr/include/python3.10/internal/pycore_condvar.h" "$(@D)/python_include/internal/pycore_condvar.h" && cp -f "/usr/include/python3.10/internal/pycore_context.h" "$(@D)/python_include/internal/pycore_context.h" && cp -f "/usr/include/python3.10/internal/pycore_dtoa.h" "$(@D)/python_include/internal/pycore_dtoa.h" && cp -f "/usr/include/python3.10/internal/pycore_fileutils.h" "$(@D)/python_include/internal/pycore_fileutils.h" && cp -f "/usr/include/python3.10/internal/pycore_format.h" "$(@D)/python_include/internal/pycore_format.h" && cp -f "/usr/include/python3.10/internal/pycore_gc.h" "$(@D)/python_include/internal/pycore_gc.h" && cp -f "/usr/include/python3.10/internal/pycore_getopt.h" "$(@D)/python_include/internal/pycore_getopt.h" && cp -f "/usr/include/python3.10/internal/pycore_gil.h" "$(@D)/python_include/internal/pycore_gil.h" && cp -f "/usr/include/python3.10/internal/pycore_hamt.h" "$(@D)/python_include/internal/pycore_hamt.h" && cp -f "/usr/include/python3.10/internal/pycore_hashtable.h" "$(@D)/python_include/internal/pycore_hashtable.h" && cp -f "/usr/include/python3.10/internal/pycore_import.h" "$(@D)/python_include/internal/pycore_import.h" && cp -f "/usr/include/python3.10/internal/pycore_initconfig.h" "$(@D)/python_include/internal/pycore_initconfig.h" && cp -f "/usr/include/python3.10/internal/pycore_interp.h" "$(@D)/python_include/internal/pycore_interp.h" && cp -f "/usr/include/python3.10/internal/pycore_list.h" "$(@D)/python_include/internal/pycore_list.h" && cp -f "/usr/include/python3.10/internal/pycore_long.h" "$(@D)/python_include/internal/pycore_long.h" && cp -f "/usr/include/python3.10/internal/pycore_moduleobject.h" "$(@D)/python_include/internal/pycore_moduleobject.h" && cp -f "/usr/include/python3.10/internal/pycore_object.h" "$(@D)/python_include/internal/pycore_object.h" && cp -f "/usr/include/python3.10/internal/pycore_parser.h" "$(@D)/python_include/internal/pycore_parser.h" && cp -f "/usr/include/python3.10/internal/pycore_pathconfig.h" "$(@D)/python_include/internal/pycore_pathconfig.h" && cp -f "/usr/include/python3.10/internal/pycore_pyarena.h" "$(@D)/python_include/internal/pycore_pyarena.h" && cp -f "/usr/include/python3.10/internal/pycore_pyerrors.h" "$(@D)/python_include/internal/pycore_pyerrors.h" && cp -f "/usr/include/python3.10/internal/pycore_pyhash.h" "$(@D)/python_include/internal/pycore_pyhash.h" && cp -f "/usr/include/python3.10/internal/pycore_pylifecycle.h" "$(@D)/python_include/internal/pycore_pylifecycle.h" && cp -f "/usr/include/python3.10/internal/pycore_pymem.h" "$(@D)/python_include/internal/pycore_pymem.h" && cp -f "/usr/include/python3.10/internal/pycore_pystate.h" "$(@D)/python_include/internal/pycore_pystate.h" && cp -f "/usr/include/python3.10/internal/pycore_runtime.h" "$(@D)/python_include/internal/pycore_runtime.h" && cp -f "/usr/include/python3.10/internal/pycore_structseq.h" "$(@D)/python_include/internal/pycore_structseq.h" && cp -f "/usr/include/python3.10/internal/pycore_symtable.h" "$(@D)/python_include/internal/pycore_symtable.h" && cp -f "/usr/include/python3.10/internal/pycore_sysmodule.h" "$(@D)/python_include/internal/pycore_sysmodule.h" && cp -f "/usr/include/python3.10/internal/pycore_traceback.h" "$(@D)/python_include/internal/pycore_traceback.h" && cp -f "/usr/include/python3.10/internal/pycore_tuple.h" "$(@D)/python_include/internal/pycore_tuple.h" && cp -f "/usr/include/python3.10/internal/pycore_ucnhash.h" "$(@D)/python_include/internal/pycore_ucnhash.h" && cp -f "/usr/include/python3.10/internal/pycore_unionobject.h" "$(@D)/python_include/internal/pycore_unionobject.h" && cp -f "/usr/include/python3.10/internal/pycore_warnings.h" "$(@D)/python_include/internal/pycore_warnings.h" && cp -f "/usr/include/python3.10/interpreteridobject.h" "$(@D)/python_include/interpreteridobject.h" && cp -f "/usr/include/python3.10/intrcheck.h" "$(@D)/python_include/intrcheck.h" && cp -f "/usr/include/python3.10/iterobject.h" "$(@D)/python_include/iterobject.h" && cp -f "/usr/include/python3.10/listobject.h" "$(@D)/python_include/listobject.h" && cp -f "/usr/include/python3.10/longintrepr.h" "$(@D)/python_include/longintrepr.h" && cp -f "/usr/include/python3.10/longobject.h" "$(@D)/python_include/longobject.h" && cp -f "/usr/include/python3.10/marshal.h" "$(@D)/python_include/marshal.h" && cp -f "/usr/include/python3.10/memoryobject.h" "$(@D)/python_include/memoryobject.h" && cp -f "/usr/include/python3.10/methodobject.h" "$(@D)/python_include/methodobject.h" && cp -f "/usr/include/python3.10/modsupport.h" "$(@D)/python_include/modsupport.h" && cp -f "/usr/include/python3.10/moduleobject.h" "$(@D)/python_include/moduleobject.h" && cp -f "/usr/include/python3.10/namespaceobject.h" "$(@D)/python_include/namespaceobject.h" && cp -f "/usr/include/python3.10/object.h" "$(@D)/python_include/object.h" && cp -f "/usr/include/python3.10/objimpl.h" "$(@D)/python_include/objimpl.h" && cp -f "/usr/include/python3.10/opcode.h" "$(@D)/python_include/opcode.h" && cp -f "/usr/include/python3.10/osdefs.h" "$(@D)/python_include/osdefs.h" && cp -f "/usr/include/python3.10/osmodule.h" "$(@D)/python_include/osmodule.h" && cp -f "/usr/include/python3.10/patchlevel.h" "$(@D)/python_include/patchlevel.h" && cp -f "/usr/include/python3.10/py_curses.h" "$(@D)/python_include/py_curses.h" && cp -f "/usr/include/python3.10/pycapsule.h" "$(@D)/python_include/pycapsule.h" && cp -f "/usr/include/python3.10/pyconfig-64.h" "$(@D)/python_include/pyconfig-64.h" && cp -f "/usr/include/python3.10/pyconfig.h" "$(@D)/python_include/pyconfig.h" && cp -f "/usr/include/python3.10/pydtrace.h" "$(@D)/python_include/pydtrace.h" && cp -f "/usr/include/python3.10/pyerrors.h" "$(@D)/python_include/pyerrors.h" && cp -f "/usr/include/python3.10/pyexpat.h" "$(@D)/python_include/pyexpat.h" && cp -f "/usr/include/python3.10/pyframe.h" "$(@D)/python_include/pyframe.h" && cp -f "/usr/include/python3.10/pyhash.h" "$(@D)/python_include/pyhash.h" && cp -f "/usr/include/python3.10/pylifecycle.h" "$(@D)/python_include/pylifecycle.h" && cp -f "/usr/include/python3.10/pymacconfig.h" "$(@D)/python_include/pymacconfig.h" && cp -f "/usr/include/python3.10/pymacro.h" "$(@D)/python_include/pymacro.h" && cp -f "/usr/include/python3.10/pymath.h" "$(@D)/python_include/pymath.h" && cp -f "/usr/include/python3.10/pymem.h" "$(@D)/python_include/pymem.h" && cp -f "/usr/include/python3.10/pyport.h" "$(@D)/python_include/pyport.h" && cp -f "/usr/include/python3.10/pystate.h" "$(@D)/python_include/pystate.h" && cp -f "/usr/include/python3.10/pystrcmp.h" "$(@D)/python_include/pystrcmp.h" && cp -f "/usr/include/python3.10/pystrhex.h" "$(@D)/python_include/pystrhex.h" && cp -f "/usr/include/python3.10/pystrtod.h" "$(@D)/python_include/pystrtod.h" && cp -f "/usr/include/python3.10/pythonrun.h" "$(@D)/python_include/pythonrun.h" && cp -f "/usr/include/python3.10/pythread.h" "$(@D)/python_include/pythread.h" && cp -f "/usr/include/python3.10/rangeobject.h" "$(@D)/python_include/rangeobject.h" && cp -f "/usr/include/python3.10/setobject.h" "$(@D)/python_include/setobject.h" && cp -f "/usr/include/python3.10/sliceobject.h" "$(@D)/python_include/sliceobject.h" && cp -f "/usr/include/python3.10/structmember.h" "$(@D)/python_include/structmember.h" && cp -f "/usr/include/python3.10/structseq.h" "$(@D)/python_include/structseq.h" && cp -f "/usr/include/python3.10/sysmodule.h" "$(@D)/python_include/sysmodule.h" && cp -f "/usr/include/python3.10/token.h" "$(@D)/python_include/token.h" && cp -f "/usr/include/python3.10/traceback.h" "$(@D)/python_include/traceback.h" && cp -f "/usr/include/python3.10/tracemalloc.h" "$(@D)/python_include/tracemalloc.h" && cp -f "/usr/include/python3.10/tupleobject.h" "$(@D)/python_include/tupleobject.h" && cp -f "/usr/include/python3.10/typeslots.h" "$(@D)/python_include/typeslots.h" && cp -f "/usr/include/python3.10/unicodeobject.h" "$(@D)/python_include/unicodeobject.h" && cp -f "/usr/include/python3.10/warnings.h" "$(@D)/python_include/warnings.h" && cp -f "/usr/include/python3.10/weakrefobject.h" "$(@D)/python_include/weakrefobject.h" -+cp -f "/usr/include/python3.9/Python-ast.h" "$(@D)/python_include/Python-ast.h" && cp -f "/usr/include/python3.9/Python.h" "$(@D)/python_include/Python.h" && cp -f "/usr/include/python3.9/abstract.h" "$(@D)/python_include/abstract.h" && cp -f "/usr/include/python3.9/asdl.h" "$(@D)/python_include/asdl.h" && cp -f "/usr/include/python3.9/ast.h" "$(@D)/python_include/ast.h" && cp -f "/usr/include/python3.9/bitset.h" "$(@D)/python_include/bitset.h" && cp -f "/usr/include/python3.9/bltinmodule.h" "$(@D)/python_include/bltinmodule.h" && cp -f "/usr/include/python3.9/boolobject.h" "$(@D)/python_include/boolobject.h" && cp -f "/usr/include/python3.9/bytearrayobject.h" "$(@D)/python_include/bytearrayobject.h" && cp -f "/usr/include/python3.9/bytesobject.h" "$(@D)/python_include/bytesobject.h" && cp -f "/usr/include/python3.9/cellobject.h" "$(@D)/python_include/cellobject.h" && cp -f "/usr/include/python3.9/ceval.h" "$(@D)/python_include/ceval.h" && cp -f "/usr/include/python3.9/classobject.h" "$(@D)/python_include/classobject.h" && cp -f "/usr/include/python3.9/code.h" "$(@D)/python_include/code.h" && cp -f "/usr/include/python3.9/codecs.h" "$(@D)/python_include/codecs.h" && cp -f "/usr/include/python3.9/compile.h" "$(@D)/python_include/compile.h" && cp -f "/usr/include/python3.9/complexobject.h" "$(@D)/python_include/complexobject.h" && cp -f "/usr/include/python3.9/context.h" "$(@D)/python_include/context.h" && cp -f "/usr/include/python3.9/cpython/abstract.h" "$(@D)/python_include/cpython/abstract.h" && cp -f "/usr/include/python3.9/cpython/bytearrayobject.h" "$(@D)/python_include/cpython/bytearrayobject.h" && cp -f "/usr/include/python3.9/cpython/bytesobject.h" "$(@D)/python_include/cpython/bytesobject.h" && cp -f "/usr/include/python3.9/cpython/ceval.h" "$(@D)/python_include/cpython/ceval.h" && cp -f "/usr/include/python3.9/cpython/code.h" "$(@D)/python_include/cpython/code.h" && cp -f "/usr/include/python3.9/cpython/dictobject.h" "$(@D)/python_include/cpython/dictobject.h" && cp -f "/usr/include/python3.9/cpython/fileobject.h" "$(@D)/python_include/cpython/fileobject.h" && cp -f "/usr/include/python3.9/cpython/fileutils.h" "$(@D)/python_include/cpython/fileutils.h" && cp -f "/usr/include/python3.9/cpython/frameobject.h" "$(@D)/python_include/cpython/frameobject.h" && cp -f "/usr/include/python3.9/cpython/import.h" "$(@D)/python_include/cpython/import.h" && cp -f "/usr/include/python3.9/cpython/initconfig.h" "$(@D)/python_include/cpython/initconfig.h" && cp -f "/usr/include/python3.9/cpython/interpreteridobject.h" "$(@D)/python_include/cpython/interpreteridobject.h" && cp -f "/usr/include/python3.9/cpython/listobject.h" "$(@D)/python_include/cpython/listobject.h" && cp -f "/usr/include/python3.9/cpython/methodobject.h" "$(@D)/python_include/cpython/methodobject.h" && cp -f "/usr/include/python3.9/cpython/object.h" "$(@D)/python_include/cpython/object.h" && cp -f "/usr/include/python3.9/cpython/objimpl.h" "$(@D)/python_include/cpython/objimpl.h" && cp -f "/usr/include/python3.9/cpython/pyerrors.h" "$(@D)/python_include/cpython/pyerrors.h" && cp -f "/usr/include/python3.9/cpython/pylifecycle.h" "$(@D)/python_include/cpython/pylifecycle.h" && cp -f "/usr/include/python3.9/cpython/pymem.h" "$(@D)/python_include/cpython/pymem.h" && cp -f "/usr/include/python3.9/cpython/pystate.h" "$(@D)/python_include/cpython/pystate.h" && cp -f "/usr/include/python3.9/cpython/sysmodule.h" "$(@D)/python_include/cpython/sysmodule.h" && cp -f "/usr/include/python3.9/cpython/traceback.h" "$(@D)/python_include/cpython/traceback.h" && cp -f "/usr/include/python3.9/cpython/tupleobject.h" "$(@D)/python_include/cpython/tupleobject.h" && cp -f "/usr/include/python3.9/cpython/unicodeobject.h" "$(@D)/python_include/cpython/unicodeobject.h" && cp -f "/usr/include/python3.9/datetime.h" "$(@D)/python_include/datetime.h" && cp -f "/usr/include/python3.9/descrobject.h" "$(@D)/python_include/descrobject.h" && cp -f "/usr/include/python3.9/dictobject.h" "$(@D)/python_include/dictobject.h" && cp -f "/usr/include/python3.9/dynamic_annotations.h" "$(@D)/python_include/dynamic_annotations.h" && cp -f "/usr/include/python3.9/enumobject.h" "$(@D)/python_include/enumobject.h" && cp -f "/usr/include/python3.9/errcode.h" "$(@D)/python_include/errcode.h" && cp -f "/usr/include/python3.9/eval.h" "$(@D)/python_include/eval.h" && cp -f "/usr/include/python3.9/exports.h" "$(@D)/python_include/exports.h" && cp -f "/usr/include/python3.9/fileobject.h" "$(@D)/python_include/fileobject.h" && cp -f "/usr/include/python3.9/fileutils.h" "$(@D)/python_include/fileutils.h" && cp -f "/usr/include/python3.9/floatobject.h" "$(@D)/python_include/floatobject.h" && cp -f "/usr/include/python3.9/frameobject.h" "$(@D)/python_include/frameobject.h" && cp -f "/usr/include/python3.9/funcobject.h" "$(@D)/python_include/funcobject.h" && cp -f "/usr/include/python3.9/genericaliasobject.h" "$(@D)/python_include/genericaliasobject.h" && cp -f "/usr/include/python3.9/genobject.h" "$(@D)/python_include/genobject.h" && cp -f "/usr/include/python3.9/graminit.h" "$(@D)/python_include/graminit.h" && cp -f "/usr/include/python3.9/grammar.h" "$(@D)/python_include/grammar.h" && cp -f "/usr/include/python3.9/import.h" "$(@D)/python_include/import.h" && cp -f "/usr/include/python3.9/internal/pegen_interface.h" "$(@D)/python_include/internal/pegen_interface.h" && cp -f "/usr/include/python3.9/internal/pycore_abstract.h" "$(@D)/python_include/internal/pycore_abstract.h" && cp -f "/usr/include/python3.9/internal/pycore_accu.h" "$(@D)/python_include/internal/pycore_accu.h" && cp -f "/usr/include/python3.9/internal/pycore_atomic.h" "$(@D)/python_include/internal/pycore_atomic.h" && cp -f "/usr/include/python3.9/internal/pycore_bytes_methods.h" "$(@D)/python_include/internal/pycore_bytes_methods.h" && cp -f "/usr/include/python3.9/internal/pycore_byteswap.h" "$(@D)/python_include/internal/pycore_byteswap.h" && cp -f "/usr/include/python3.9/internal/pycore_call.h" "$(@D)/python_include/internal/pycore_call.h" && cp -f "/usr/include/python3.9/internal/pycore_ceval.h" "$(@D)/python_include/internal/pycore_ceval.h" && cp -f "/usr/include/python3.9/internal/pycore_code.h" "$(@D)/python_include/internal/pycore_code.h" && cp -f "/usr/include/python3.9/internal/pycore_condvar.h" "$(@D)/python_include/internal/pycore_condvar.h" && cp -f "/usr/include/python3.9/internal/pycore_context.h" "$(@D)/python_include/internal/pycore_context.h" && cp -f "/usr/include/python3.9/internal/pycore_dtoa.h" "$(@D)/python_include/internal/pycore_dtoa.h" && cp -f "/usr/include/python3.9/internal/pycore_fileutils.h" "$(@D)/python_include/internal/pycore_fileutils.h" && cp -f "/usr/include/python3.9/internal/pycore_gc.h" "$(@D)/python_include/internal/pycore_gc.h" && cp -f "/usr/include/python3.9/internal/pycore_getopt.h" "$(@D)/python_include/internal/pycore_getopt.h" && cp -f "/usr/include/python3.9/internal/pycore_gil.h" "$(@D)/python_include/internal/pycore_gil.h" && cp -f "/usr/include/python3.9/internal/pycore_hamt.h" "$(@D)/python_include/internal/pycore_hamt.h" && cp -f "/usr/include/python3.9/internal/pycore_hashtable.h" "$(@D)/python_include/internal/pycore_hashtable.h" && cp -f "/usr/include/python3.9/internal/pycore_import.h" "$(@D)/python_include/internal/pycore_import.h" && cp -f "/usr/include/python3.9/internal/pycore_initconfig.h" "$(@D)/python_include/internal/pycore_initconfig.h" && cp -f "/usr/include/python3.9/internal/pycore_interp.h" "$(@D)/python_include/internal/pycore_interp.h" && cp -f "/usr/include/python3.9/internal/pycore_object.h" "$(@D)/python_include/internal/pycore_object.h" && cp -f "/usr/include/python3.9/internal/pycore_pathconfig.h" "$(@D)/python_include/internal/pycore_pathconfig.h" && cp -f "/usr/include/python3.9/internal/pycore_pyerrors.h" "$(@D)/python_include/internal/pycore_pyerrors.h" && cp -f "/usr/include/python3.9/internal/pycore_pyhash.h" "$(@D)/python_include/internal/pycore_pyhash.h" && cp -f "/usr/include/python3.9/internal/pycore_pylifecycle.h" "$(@D)/python_include/internal/pycore_pylifecycle.h" && cp -f "/usr/include/python3.9/internal/pycore_pymem.h" "$(@D)/python_include/internal/pycore_pymem.h" && cp -f "/usr/include/python3.9/internal/pycore_pystate.h" "$(@D)/python_include/internal/pycore_pystate.h" && cp -f "/usr/include/python3.9/internal/pycore_runtime.h" "$(@D)/python_include/internal/pycore_runtime.h" && cp -f "/usr/include/python3.9/internal/pycore_sysmodule.h" "$(@D)/python_include/internal/pycore_sysmodule.h" && cp -f "/usr/include/python3.9/internal/pycore_traceback.h" "$(@D)/python_include/internal/pycore_traceback.h" && cp -f "/usr/include/python3.9/internal/pycore_tupleobject.h" "$(@D)/python_include/internal/pycore_tupleobject.h" && cp -f "/usr/include/python3.9/internal/pycore_warnings.h" "$(@D)/python_include/internal/pycore_warnings.h" && cp -f "/usr/include/python3.9/interpreteridobject.h" "$(@D)/python_include/interpreteridobject.h" && cp -f "/usr/include/python3.9/intrcheck.h" "$(@D)/python_include/intrcheck.h" && cp -f "/usr/include/python3.9/iterobject.h" "$(@D)/python_include/iterobject.h" && cp -f "/usr/include/python3.9/listobject.h" "$(@D)/python_include/listobject.h" && cp -f "/usr/include/python3.9/longintrepr.h" "$(@D)/python_include/longintrepr.h" && cp -f "/usr/include/python3.9/longobject.h" "$(@D)/python_include/longobject.h" && cp -f "/usr/include/python3.9/marshal.h" "$(@D)/python_include/marshal.h" && cp -f "/usr/include/python3.9/memoryobject.h" "$(@D)/python_include/memoryobject.h" && cp -f "/usr/include/python3.9/methodobject.h" "$(@D)/python_include/methodobject.h" && cp -f "/usr/include/python3.9/modsupport.h" "$(@D)/python_include/modsupport.h" && cp -f "/usr/include/python3.9/moduleobject.h" "$(@D)/python_include/moduleobject.h" && cp -f "/usr/include/python3.9/namespaceobject.h" "$(@D)/python_include/namespaceobject.h" && cp -f "/usr/include/python3.9/node.h" "$(@D)/python_include/node.h" && cp -f "/usr/include/python3.9/object.h" "$(@D)/python_include/object.h" && cp -f "/usr/include/python3.9/objimpl.h" "$(@D)/python_include/objimpl.h" && cp -f "/usr/include/python3.9/odictobject.h" "$(@D)/python_include/odictobject.h" && cp -f "/usr/include/python3.9/opcode.h" "$(@D)/python_include/opcode.h" && cp -f "/usr/include/python3.9/osdefs.h" "$(@D)/python_include/osdefs.h" && cp -f "/usr/include/python3.9/osmodule.h" "$(@D)/python_include/osmodule.h" && cp -f "/usr/include/python3.9/parsetok.h" "$(@D)/python_include/parsetok.h" && cp -f "/usr/include/python3.9/patchlevel.h" "$(@D)/python_include/patchlevel.h" && cp -f "/usr/include/python3.9/picklebufobject.h" "$(@D)/python_include/picklebufobject.h" && cp -f "/usr/include/python3.9/py_curses.h" "$(@D)/python_include/py_curses.h" && cp -f "/usr/include/python3.9/pyarena.h" "$(@D)/python_include/pyarena.h" && cp -f "/usr/include/python3.9/pycapsule.h" "$(@D)/python_include/pycapsule.h" && cp -f "/usr/include/python3.9/pyconfig-64.h" "$(@D)/python_include/pyconfig-64.h" && cp -f "/usr/include/python3.9/pyconfig.h" "$(@D)/python_include/pyconfig.h" && cp -f "/usr/include/python3.9/pyctype.h" "$(@D)/python_include/pyctype.h" && cp -f "/usr/include/python3.9/pydebug.h" "$(@D)/python_include/pydebug.h" && cp -f "/usr/include/python3.9/pydtrace.h" "$(@D)/python_include/pydtrace.h" && cp -f "/usr/include/python3.9/pyerrors.h" "$(@D)/python_include/pyerrors.h" && cp -f "/usr/include/python3.9/pyexpat.h" "$(@D)/python_include/pyexpat.h" && cp -f "/usr/include/python3.9/pyfpe.h" "$(@D)/python_include/pyfpe.h" && cp -f "/usr/include/python3.9/pyframe.h" "$(@D)/python_include/pyframe.h" && cp -f "/usr/include/python3.9/pyhash.h" "$(@D)/python_include/pyhash.h" && cp -f "/usr/include/python3.9/pylifecycle.h" "$(@D)/python_include/pylifecycle.h" && cp -f "/usr/include/python3.9/pymacconfig.h" "$(@D)/python_include/pymacconfig.h" && cp -f "/usr/include/python3.9/pymacro.h" "$(@D)/python_include/pymacro.h" && cp -f "/usr/include/python3.9/pymath.h" "$(@D)/python_include/pymath.h" && cp -f "/usr/include/python3.9/pymem.h" "$(@D)/python_include/pymem.h" && cp -f "/usr/include/python3.9/pyport.h" "$(@D)/python_include/pyport.h" && cp -f "/usr/include/python3.9/pystate.h" "$(@D)/python_include/pystate.h" && cp -f "/usr/include/python3.9/pystrcmp.h" "$(@D)/python_include/pystrcmp.h" && cp -f "/usr/include/python3.9/pystrhex.h" "$(@D)/python_include/pystrhex.h" && cp -f "/usr/include/python3.9/pystrtod.h" "$(@D)/python_include/pystrtod.h" && cp -f "/usr/include/python3.9/pythonrun.h" "$(@D)/python_include/pythonrun.h" && cp -f "/usr/include/python3.9/pythread.h" "$(@D)/python_include/pythread.h" && cp -f "/usr/include/python3.9/pytime.h" "$(@D)/python_include/pytime.h" && cp -f "/usr/include/python3.9/rangeobject.h" "$(@D)/python_include/rangeobject.h" && cp -f "/usr/include/python3.9/setobject.h" "$(@D)/python_include/setobject.h" && cp -f "/usr/include/python3.9/sliceobject.h" "$(@D)/python_include/sliceobject.h" && cp -f "/usr/include/python3.9/structmember.h" "$(@D)/python_include/structmember.h" && cp -f "/usr/include/python3.9/structseq.h" "$(@D)/python_include/structseq.h" && cp -f "/usr/include/python3.9/symtable.h" "$(@D)/python_include/symtable.h" && cp -f "/usr/include/python3.9/sysmodule.h" "$(@D)/python_include/sysmodule.h" && cp -f "/usr/include/python3.9/token.h" "$(@D)/python_include/token.h" && cp -f "/usr/include/python3.9/traceback.h" "$(@D)/python_include/traceback.h" && cp -f "/usr/include/python3.9/tracemalloc.h" "$(@D)/python_include/tracemalloc.h" && cp -f "/usr/include/python3.9/tupleobject.h" "$(@D)/python_include/tupleobject.h" && cp -f "/usr/include/python3.9/typeslots.h" "$(@D)/python_include/typeslots.h" && cp -f "/usr/include/python3.9/ucnhash.h" "$(@D)/python_include/ucnhash.h" && cp -f "/usr/include/python3.9/unicodeobject.h" "$(@D)/python_include/unicodeobject.h" && cp -f "/usr/include/python3.9/warnings.h" "$(@D)/python_include/warnings.h" && cp -f "/usr/include/python3.9/weakrefobject.h" "$(@D)/python_include/weakrefobject.h" - """, - ) - -@@ -282,7 +276,7 @@ genrule( - "numpy_include/numpy/utils.h", - ], - cmd = """ --cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h" "$(@D)/numpy_include/numpy/__multiarray_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__ufunc_api.h" "$(@D)/numpy_include/numpy/__ufunc_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/_neighborhood_iterator_imp.h" "$(@D)/numpy_include/numpy/_neighborhood_iterator_imp.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/_numpyconfig.h" "$(@D)/numpy_include/numpy/_numpyconfig.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h" "$(@D)/numpy_include/numpy/arrayobject.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayscalars.h" "$(@D)/numpy_include/numpy/arrayscalars.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/halffloat.h" "$(@D)/numpy_include/numpy/halffloat.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/libdivide/LICENSE.txt" "$(@D)/numpy_include/numpy/libdivide/LICENSE.txt" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/libdivide/libdivide.h" "$(@D)/numpy_include/numpy/libdivide/libdivide.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/multiarray_api.txt" "$(@D)/numpy_include/numpy/multiarray_api.txt" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h" "$(@D)/numpy_include/numpy/ndarrayobject.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h" "$(@D)/numpy_include/numpy/ndarraytypes.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/noprefix.h" "$(@D)/numpy_include/numpy/noprefix.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_1_7_deprecated_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_3kcompat.h" "$(@D)/numpy_include/numpy/npy_3kcompat.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_common.h" "$(@D)/numpy_include/numpy/npy_common.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_cpu.h" "$(@D)/numpy_include/numpy/npy_cpu.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_endian.h" "$(@D)/numpy_include/numpy/npy_endian.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_interrupt.h" "$(@D)/numpy_include/numpy/npy_interrupt.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_math.h" "$(@D)/numpy_include/numpy/npy_math.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_no_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_no_deprecated_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_os.h" "$(@D)/numpy_include/numpy/npy_os.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/numpyconfig.h" "$(@D)/numpy_include/numpy/numpyconfig.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/old_defines.h" "$(@D)/numpy_include/numpy/old_defines.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/oldnumeric.h" "$(@D)/numpy_include/numpy/oldnumeric.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/random/bitgen.h" "$(@D)/numpy_include/numpy/random/bitgen.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/random/distributions.h" "$(@D)/numpy_include/numpy/random/distributions.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ufunc_api.txt" "$(@D)/numpy_include/numpy/ufunc_api.txt" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ufuncobject.h" "$(@D)/numpy_include/numpy/ufuncobject.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/utils.h" "$(@D)/numpy_include/numpy/utils.h" -+cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h" "$(@D)/numpy_include/numpy/__multiarray_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h" "$(@D)/numpy_include/numpy/__ufunc_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/_neighborhood_iterator_imp.h" "$(@D)/numpy_include/numpy/_neighborhood_iterator_imp.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/_numpyconfig.h" "$(@D)/numpy_include/numpy/_numpyconfig.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h" "$(@D)/numpy_include/numpy/arrayobject.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/arrayscalars.h" "$(@D)/numpy_include/numpy/arrayscalars.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/halffloat.h" "$(@D)/numpy_include/numpy/halffloat.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/libdivide/LICENSE.txt" "$(@D)/numpy_include/numpy/libdivide/LICENSE.txt" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/libdivide/libdivide.h" "$(@D)/numpy_include/numpy/libdivide/libdivide.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/multiarray_api.txt" "$(@D)/numpy_include/numpy/multiarray_api.txt" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h" "$(@D)/numpy_include/numpy/ndarrayobject.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h" "$(@D)/numpy_include/numpy/ndarraytypes.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/noprefix.h" "$(@D)/numpy_include/numpy/noprefix.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_1_7_deprecated_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_3kcompat.h" "$(@D)/numpy_include/numpy/npy_3kcompat.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_common.h" "$(@D)/numpy_include/numpy/npy_common.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_cpu.h" "$(@D)/numpy_include/numpy/npy_cpu.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_endian.h" "$(@D)/numpy_include/numpy/npy_endian.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_interrupt.h" "$(@D)/numpy_include/numpy/npy_interrupt.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_math.h" "$(@D)/numpy_include/numpy/npy_math.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_no_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_no_deprecated_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_os.h" "$(@D)/numpy_include/numpy/npy_os.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/numpyconfig.h" "$(@D)/numpy_include/numpy/numpyconfig.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/old_defines.h" "$(@D)/numpy_include/numpy/old_defines.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/oldnumeric.h" "$(@D)/numpy_include/numpy/oldnumeric.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/random/bitgen.h" "$(@D)/numpy_include/numpy/random/bitgen.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/random/distributions.h" "$(@D)/numpy_include/numpy/random/distributions.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ufunc_api.txt" "$(@D)/numpy_include/numpy/ufunc_api.txt" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ufuncobject.h" "$(@D)/numpy_include/numpy/ufuncobject.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/utils.h" "$(@D)/numpy_include/numpy/utils.h" - """, - ) - +diff -Nurp external-x86_64/local_config_platform/constraints.bzl external/local_config_platform/constraints.bzl +--- external-x86_64/local_config_platform/constraints.bzl 2023-08-30 15:04:11.000000000 +0800 ++++ external/local_config_platform/constraints.bzl 2023-09-05 15:51:53.000000000 +0800 +@@ -1,6 +1,6 @@ + # DO NOT EDIT: automatically generated constraints list for local_config_platform + # Auto-detected host platform constraints. + HOST_CONSTRAINTS = [ +- '@platforms//cpu:x86_64', ++ '@platforms//cpu:aarch64', + '@platforms//os:linux', + ] ++ENV:PATH /root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin diff -Nurp external-x86_64/local_execution_config_platform/BUILD external/local_execution_config_platform/BUILD ---- external-x86_64/local_execution_config_platform/BUILD 2022-11-08 16:26:42.000000000 +0000 -+++ external/local_execution_config_platform/BUILD 2022-11-12 03:41:56.872000000 +0000 +--- external-x86_64/local_execution_config_platform/BUILD 2023-08-28 15:02:02.000000000 +0800 ++++ external/local_execution_config_platform/BUILD 2023-08-31 11:47:06.000000000 +0800 @@ -18,7 +18,7 @@ platform( name = "platform", visibility = ["//visibility:public"], constraint_values = [ -- "@bazel_tools//platforms:x86_64", -+ "@bazel_tools//platforms:aarch64", - "@bazel_tools//platforms:linux", +- "@platforms//cpu:x86_64", ++ "@platforms//cpu:aarch64", + "@platforms//os:linux", ":platform_constraint", ], -diff -Nurp external-x86_64/local_execution_config_python/BUILD external/local_execution_config_python/BUILD ---- external-x86_64/local_execution_config_python/BUILD 2022-11-08 16:26:48.000000000 +0000 -+++ external/local_execution_config_python/BUILD 2022-11-12 03:44:04.400000000 +0000 -@@ -78,8 +78,12 @@ config_setting( - genrule( - name = "python_include", - outs = [ -+ "python_include/Python-ast.h", - "python_include/Python.h", - "python_include/abstract.h", -+ "python_include/asdl.h", -+ "python_include/ast.h", -+ "python_include/bitset.h", - "python_include/bltinmodule.h", - "python_include/boolobject.h", - "python_include/bytearrayobject.h", -@@ -97,7 +101,6 @@ genrule( - "python_include/cpython/bytesobject.h", - "python_include/cpython/ceval.h", - "python_include/cpython/code.h", -- "python_include/cpython/compile.h", - "python_include/cpython/dictobject.h", - "python_include/cpython/fileobject.h", - "python_include/cpython/fileutils.h", -@@ -109,17 +112,10 @@ genrule( - "python_include/cpython/methodobject.h", - "python_include/cpython/object.h", - "python_include/cpython/objimpl.h", -- "python_include/cpython/odictobject.h", -- "python_include/cpython/picklebufobject.h", -- "python_include/cpython/pyctype.h", -- "python_include/cpython/pydebug.h", - "python_include/cpython/pyerrors.h", -- "python_include/cpython/pyfpe.h", - "python_include/cpython/pylifecycle.h", - "python_include/cpython/pymem.h", - "python_include/cpython/pystate.h", -- "python_include/cpython/pythonrun.h", -- "python_include/cpython/pytime.h", - "python_include/cpython/sysmodule.h", - "python_include/cpython/traceback.h", - "python_include/cpython/tupleobject.h", -@@ -139,26 +135,22 @@ genrule( - "python_include/funcobject.h", - "python_include/genericaliasobject.h", - "python_include/genobject.h", -+ "python_include/graminit.h", -+ "python_include/grammar.h", - "python_include/import.h", -+ "python_include/internal/pegen_interface.h", - "python_include/internal/pycore_abstract.h", - "python_include/internal/pycore_accu.h", -- "python_include/internal/pycore_asdl.h", -- "python_include/internal/pycore_ast.h", -- "python_include/internal/pycore_ast_state.h", - "python_include/internal/pycore_atomic.h", -- "python_include/internal/pycore_atomic_funcs.h", -- "python_include/internal/pycore_bitutils.h", -- "python_include/internal/pycore_blocks_output_buffer.h", - "python_include/internal/pycore_bytes_methods.h", -+ "python_include/internal/pycore_byteswap.h", - "python_include/internal/pycore_call.h", - "python_include/internal/pycore_ceval.h", - "python_include/internal/pycore_code.h", -- "python_include/internal/pycore_compile.h", - "python_include/internal/pycore_condvar.h", - "python_include/internal/pycore_context.h", - "python_include/internal/pycore_dtoa.h", - "python_include/internal/pycore_fileutils.h", -- "python_include/internal/pycore_format.h", - "python_include/internal/pycore_gc.h", - "python_include/internal/pycore_getopt.h", - "python_include/internal/pycore_gil.h", -@@ -167,26 +159,17 @@ genrule( - "python_include/internal/pycore_import.h", - "python_include/internal/pycore_initconfig.h", - "python_include/internal/pycore_interp.h", -- "python_include/internal/pycore_list.h", -- "python_include/internal/pycore_long.h", -- "python_include/internal/pycore_moduleobject.h", - "python_include/internal/pycore_object.h", -- "python_include/internal/pycore_parser.h", - "python_include/internal/pycore_pathconfig.h", -- "python_include/internal/pycore_pyarena.h", - "python_include/internal/pycore_pyerrors.h", - "python_include/internal/pycore_pyhash.h", - "python_include/internal/pycore_pylifecycle.h", - "python_include/internal/pycore_pymem.h", - "python_include/internal/pycore_pystate.h", - "python_include/internal/pycore_runtime.h", -- "python_include/internal/pycore_structseq.h", -- "python_include/internal/pycore_symtable.h", - "python_include/internal/pycore_sysmodule.h", - "python_include/internal/pycore_traceback.h", -- "python_include/internal/pycore_tuple.h", -- "python_include/internal/pycore_ucnhash.h", -- "python_include/internal/pycore_unionobject.h", -+ "python_include/internal/pycore_tupleobject.h", - "python_include/internal/pycore_warnings.h", - "python_include/interpreteridobject.h", - "python_include/intrcheck.h", -@@ -200,19 +183,27 @@ genrule( - "python_include/modsupport.h", - "python_include/moduleobject.h", - "python_include/namespaceobject.h", -+ "python_include/node.h", - "python_include/object.h", - "python_include/objimpl.h", -+ "python_include/odictobject.h", - "python_include/opcode.h", - "python_include/osdefs.h", - "python_include/osmodule.h", -+ "python_include/parsetok.h", - "python_include/patchlevel.h", -+ "python_include/picklebufobject.h", - "python_include/py_curses.h", -+ "python_include/pyarena.h", - "python_include/pycapsule.h", - "python_include/pyconfig-64.h", - "python_include/pyconfig.h", -+ "python_include/pyctype.h", -+ "python_include/pydebug.h", - "python_include/pydtrace.h", - "python_include/pyerrors.h", - "python_include/pyexpat.h", -+ "python_include/pyfpe.h", - "python_include/pyframe.h", - "python_include/pyhash.h", - "python_include/pylifecycle.h", -@@ -227,23 +218,26 @@ genrule( - "python_include/pystrtod.h", - "python_include/pythonrun.h", - "python_include/pythread.h", -+ "python_include/pytime.h", - "python_include/rangeobject.h", - "python_include/setobject.h", - "python_include/sliceobject.h", - "python_include/structmember.h", - "python_include/structseq.h", -+ "python_include/symtable.h", - "python_include/sysmodule.h", - "python_include/token.h", - "python_include/traceback.h", - "python_include/tracemalloc.h", - "python_include/tupleobject.h", - "python_include/typeslots.h", -+ "python_include/ucnhash.h", - "python_include/unicodeobject.h", - "python_include/warnings.h", - "python_include/weakrefobject.h", - ], - cmd = """ --cp -f "/usr/include/python3.10/Python.h" "$(@D)/python_include/Python.h" && cp -f "/usr/include/python3.10/abstract.h" "$(@D)/python_include/abstract.h" && cp -f "/usr/include/python3.10/bltinmodule.h" "$(@D)/python_include/bltinmodule.h" && cp -f "/usr/include/python3.10/boolobject.h" "$(@D)/python_include/boolobject.h" && cp -f "/usr/include/python3.10/bytearrayobject.h" "$(@D)/python_include/bytearrayobject.h" && cp -f "/usr/include/python3.10/bytesobject.h" "$(@D)/python_include/bytesobject.h" && cp -f "/usr/include/python3.10/cellobject.h" "$(@D)/python_include/cellobject.h" && cp -f "/usr/include/python3.10/ceval.h" "$(@D)/python_include/ceval.h" && cp -f "/usr/include/python3.10/classobject.h" "$(@D)/python_include/classobject.h" && cp -f "/usr/include/python3.10/code.h" "$(@D)/python_include/code.h" && cp -f "/usr/include/python3.10/codecs.h" "$(@D)/python_include/codecs.h" && cp -f "/usr/include/python3.10/compile.h" "$(@D)/python_include/compile.h" && cp -f "/usr/include/python3.10/complexobject.h" "$(@D)/python_include/complexobject.h" && cp -f "/usr/include/python3.10/context.h" "$(@D)/python_include/context.h" && cp -f "/usr/include/python3.10/cpython/abstract.h" "$(@D)/python_include/cpython/abstract.h" && cp -f "/usr/include/python3.10/cpython/bytearrayobject.h" "$(@D)/python_include/cpython/bytearrayobject.h" && cp -f "/usr/include/python3.10/cpython/bytesobject.h" "$(@D)/python_include/cpython/bytesobject.h" && cp -f "/usr/include/python3.10/cpython/ceval.h" "$(@D)/python_include/cpython/ceval.h" && cp -f "/usr/include/python3.10/cpython/code.h" "$(@D)/python_include/cpython/code.h" && cp -f "/usr/include/python3.10/cpython/compile.h" "$(@D)/python_include/cpython/compile.h" && cp -f "/usr/include/python3.10/cpython/dictobject.h" "$(@D)/python_include/cpython/dictobject.h" && cp -f "/usr/include/python3.10/cpython/fileobject.h" "$(@D)/python_include/cpython/fileobject.h" && cp -f "/usr/include/python3.10/cpython/fileutils.h" "$(@D)/python_include/cpython/fileutils.h" && cp -f "/usr/include/python3.10/cpython/frameobject.h" "$(@D)/python_include/cpython/frameobject.h" && cp -f "/usr/include/python3.10/cpython/import.h" "$(@D)/python_include/cpython/import.h" && cp -f "/usr/include/python3.10/cpython/initconfig.h" "$(@D)/python_include/cpython/initconfig.h" && cp -f "/usr/include/python3.10/cpython/interpreteridobject.h" "$(@D)/python_include/cpython/interpreteridobject.h" && cp -f "/usr/include/python3.10/cpython/listobject.h" "$(@D)/python_include/cpython/listobject.h" && cp -f "/usr/include/python3.10/cpython/methodobject.h" "$(@D)/python_include/cpython/methodobject.h" && cp -f "/usr/include/python3.10/cpython/object.h" "$(@D)/python_include/cpython/object.h" && cp -f "/usr/include/python3.10/cpython/objimpl.h" "$(@D)/python_include/cpython/objimpl.h" && cp -f "/usr/include/python3.10/cpython/odictobject.h" "$(@D)/python_include/cpython/odictobject.h" && cp -f "/usr/include/python3.10/cpython/picklebufobject.h" "$(@D)/python_include/cpython/picklebufobject.h" && cp -f "/usr/include/python3.10/cpython/pyctype.h" "$(@D)/python_include/cpython/pyctype.h" && cp -f "/usr/include/python3.10/cpython/pydebug.h" "$(@D)/python_include/cpython/pydebug.h" && cp -f "/usr/include/python3.10/cpython/pyerrors.h" "$(@D)/python_include/cpython/pyerrors.h" && cp -f "/usr/include/python3.10/cpython/pyfpe.h" "$(@D)/python_include/cpython/pyfpe.h" && cp -f "/usr/include/python3.10/cpython/pylifecycle.h" "$(@D)/python_include/cpython/pylifecycle.h" && cp -f "/usr/include/python3.10/cpython/pymem.h" "$(@D)/python_include/cpython/pymem.h" && cp -f "/usr/include/python3.10/cpython/pystate.h" "$(@D)/python_include/cpython/pystate.h" && cp -f "/usr/include/python3.10/cpython/pythonrun.h" "$(@D)/python_include/cpython/pythonrun.h" && cp -f "/usr/include/python3.10/cpython/pytime.h" "$(@D)/python_include/cpython/pytime.h" && cp -f "/usr/include/python3.10/cpython/sysmodule.h" "$(@D)/python_include/cpython/sysmodule.h" && cp -f "/usr/include/python3.10/cpython/traceback.h" "$(@D)/python_include/cpython/traceback.h" && cp -f "/usr/include/python3.10/cpython/tupleobject.h" "$(@D)/python_include/cpython/tupleobject.h" && cp -f "/usr/include/python3.10/cpython/unicodeobject.h" "$(@D)/python_include/cpython/unicodeobject.h" && cp -f "/usr/include/python3.10/datetime.h" "$(@D)/python_include/datetime.h" && cp -f "/usr/include/python3.10/descrobject.h" "$(@D)/python_include/descrobject.h" && cp -f "/usr/include/python3.10/dictobject.h" "$(@D)/python_include/dictobject.h" && cp -f "/usr/include/python3.10/dynamic_annotations.h" "$(@D)/python_include/dynamic_annotations.h" && cp -f "/usr/include/python3.10/enumobject.h" "$(@D)/python_include/enumobject.h" && cp -f "/usr/include/python3.10/errcode.h" "$(@D)/python_include/errcode.h" && cp -f "/usr/include/python3.10/eval.h" "$(@D)/python_include/eval.h" && cp -f "/usr/include/python3.10/exports.h" "$(@D)/python_include/exports.h" && cp -f "/usr/include/python3.10/fileobject.h" "$(@D)/python_include/fileobject.h" && cp -f "/usr/include/python3.10/fileutils.h" "$(@D)/python_include/fileutils.h" && cp -f "/usr/include/python3.10/floatobject.h" "$(@D)/python_include/floatobject.h" && cp -f "/usr/include/python3.10/frameobject.h" "$(@D)/python_include/frameobject.h" && cp -f "/usr/include/python3.10/funcobject.h" "$(@D)/python_include/funcobject.h" && cp -f "/usr/include/python3.10/genericaliasobject.h" "$(@D)/python_include/genericaliasobject.h" && cp -f "/usr/include/python3.10/genobject.h" "$(@D)/python_include/genobject.h" && cp -f "/usr/include/python3.10/import.h" "$(@D)/python_include/import.h" && cp -f "/usr/include/python3.10/internal/pycore_abstract.h" "$(@D)/python_include/internal/pycore_abstract.h" && cp -f "/usr/include/python3.10/internal/pycore_accu.h" "$(@D)/python_include/internal/pycore_accu.h" && cp -f "/usr/include/python3.10/internal/pycore_asdl.h" "$(@D)/python_include/internal/pycore_asdl.h" && cp -f "/usr/include/python3.10/internal/pycore_ast.h" "$(@D)/python_include/internal/pycore_ast.h" && cp -f "/usr/include/python3.10/internal/pycore_ast_state.h" "$(@D)/python_include/internal/pycore_ast_state.h" && cp -f "/usr/include/python3.10/internal/pycore_atomic.h" "$(@D)/python_include/internal/pycore_atomic.h" && cp -f "/usr/include/python3.10/internal/pycore_atomic_funcs.h" "$(@D)/python_include/internal/pycore_atomic_funcs.h" && cp -f "/usr/include/python3.10/internal/pycore_bitutils.h" "$(@D)/python_include/internal/pycore_bitutils.h" && cp -f "/usr/include/python3.10/internal/pycore_blocks_output_buffer.h" "$(@D)/python_include/internal/pycore_blocks_output_buffer.h" && cp -f "/usr/include/python3.10/internal/pycore_bytes_methods.h" "$(@D)/python_include/internal/pycore_bytes_methods.h" && cp -f "/usr/include/python3.10/internal/pycore_call.h" "$(@D)/python_include/internal/pycore_call.h" && cp -f "/usr/include/python3.10/internal/pycore_ceval.h" "$(@D)/python_include/internal/pycore_ceval.h" && cp -f "/usr/include/python3.10/internal/pycore_code.h" "$(@D)/python_include/internal/pycore_code.h" && cp -f "/usr/include/python3.10/internal/pycore_compile.h" "$(@D)/python_include/internal/pycore_compile.h" && cp -f "/usr/include/python3.10/internal/pycore_condvar.h" "$(@D)/python_include/internal/pycore_condvar.h" && cp -f "/usr/include/python3.10/internal/pycore_context.h" "$(@D)/python_include/internal/pycore_context.h" && cp -f "/usr/include/python3.10/internal/pycore_dtoa.h" "$(@D)/python_include/internal/pycore_dtoa.h" && cp -f "/usr/include/python3.10/internal/pycore_fileutils.h" "$(@D)/python_include/internal/pycore_fileutils.h" && cp -f "/usr/include/python3.10/internal/pycore_format.h" "$(@D)/python_include/internal/pycore_format.h" && cp -f "/usr/include/python3.10/internal/pycore_gc.h" "$(@D)/python_include/internal/pycore_gc.h" && cp -f "/usr/include/python3.10/internal/pycore_getopt.h" "$(@D)/python_include/internal/pycore_getopt.h" && cp -f "/usr/include/python3.10/internal/pycore_gil.h" "$(@D)/python_include/internal/pycore_gil.h" && cp -f "/usr/include/python3.10/internal/pycore_hamt.h" "$(@D)/python_include/internal/pycore_hamt.h" && cp -f "/usr/include/python3.10/internal/pycore_hashtable.h" "$(@D)/python_include/internal/pycore_hashtable.h" && cp -f "/usr/include/python3.10/internal/pycore_import.h" "$(@D)/python_include/internal/pycore_import.h" && cp -f "/usr/include/python3.10/internal/pycore_initconfig.h" "$(@D)/python_include/internal/pycore_initconfig.h" && cp -f "/usr/include/python3.10/internal/pycore_interp.h" "$(@D)/python_include/internal/pycore_interp.h" && cp -f "/usr/include/python3.10/internal/pycore_list.h" "$(@D)/python_include/internal/pycore_list.h" && cp -f "/usr/include/python3.10/internal/pycore_long.h" "$(@D)/python_include/internal/pycore_long.h" && cp -f "/usr/include/python3.10/internal/pycore_moduleobject.h" "$(@D)/python_include/internal/pycore_moduleobject.h" && cp -f "/usr/include/python3.10/internal/pycore_object.h" "$(@D)/python_include/internal/pycore_object.h" && cp -f "/usr/include/python3.10/internal/pycore_parser.h" "$(@D)/python_include/internal/pycore_parser.h" && cp -f "/usr/include/python3.10/internal/pycore_pathconfig.h" "$(@D)/python_include/internal/pycore_pathconfig.h" && cp -f "/usr/include/python3.10/internal/pycore_pyarena.h" "$(@D)/python_include/internal/pycore_pyarena.h" && cp -f "/usr/include/python3.10/internal/pycore_pyerrors.h" "$(@D)/python_include/internal/pycore_pyerrors.h" && cp -f "/usr/include/python3.10/internal/pycore_pyhash.h" "$(@D)/python_include/internal/pycore_pyhash.h" && cp -f "/usr/include/python3.10/internal/pycore_pylifecycle.h" "$(@D)/python_include/internal/pycore_pylifecycle.h" && cp -f "/usr/include/python3.10/internal/pycore_pymem.h" "$(@D)/python_include/internal/pycore_pymem.h" && cp -f "/usr/include/python3.10/internal/pycore_pystate.h" "$(@D)/python_include/internal/pycore_pystate.h" && cp -f "/usr/include/python3.10/internal/pycore_runtime.h" "$(@D)/python_include/internal/pycore_runtime.h" && cp -f "/usr/include/python3.10/internal/pycore_structseq.h" "$(@D)/python_include/internal/pycore_structseq.h" && cp -f "/usr/include/python3.10/internal/pycore_symtable.h" "$(@D)/python_include/internal/pycore_symtable.h" && cp -f "/usr/include/python3.10/internal/pycore_sysmodule.h" "$(@D)/python_include/internal/pycore_sysmodule.h" && cp -f "/usr/include/python3.10/internal/pycore_traceback.h" "$(@D)/python_include/internal/pycore_traceback.h" && cp -f "/usr/include/python3.10/internal/pycore_tuple.h" "$(@D)/python_include/internal/pycore_tuple.h" && cp -f "/usr/include/python3.10/internal/pycore_ucnhash.h" "$(@D)/python_include/internal/pycore_ucnhash.h" && cp -f "/usr/include/python3.10/internal/pycore_unionobject.h" "$(@D)/python_include/internal/pycore_unionobject.h" && cp -f "/usr/include/python3.10/internal/pycore_warnings.h" "$(@D)/python_include/internal/pycore_warnings.h" && cp -f "/usr/include/python3.10/interpreteridobject.h" "$(@D)/python_include/interpreteridobject.h" && cp -f "/usr/include/python3.10/intrcheck.h" "$(@D)/python_include/intrcheck.h" && cp -f "/usr/include/python3.10/iterobject.h" "$(@D)/python_include/iterobject.h" && cp -f "/usr/include/python3.10/listobject.h" "$(@D)/python_include/listobject.h" && cp -f "/usr/include/python3.10/longintrepr.h" "$(@D)/python_include/longintrepr.h" && cp -f "/usr/include/python3.10/longobject.h" "$(@D)/python_include/longobject.h" && cp -f "/usr/include/python3.10/marshal.h" "$(@D)/python_include/marshal.h" && cp -f "/usr/include/python3.10/memoryobject.h" "$(@D)/python_include/memoryobject.h" && cp -f "/usr/include/python3.10/methodobject.h" "$(@D)/python_include/methodobject.h" && cp -f "/usr/include/python3.10/modsupport.h" "$(@D)/python_include/modsupport.h" && cp -f "/usr/include/python3.10/moduleobject.h" "$(@D)/python_include/moduleobject.h" && cp -f "/usr/include/python3.10/namespaceobject.h" "$(@D)/python_include/namespaceobject.h" && cp -f "/usr/include/python3.10/object.h" "$(@D)/python_include/object.h" && cp -f "/usr/include/python3.10/objimpl.h" "$(@D)/python_include/objimpl.h" && cp -f "/usr/include/python3.10/opcode.h" "$(@D)/python_include/opcode.h" && cp -f "/usr/include/python3.10/osdefs.h" "$(@D)/python_include/osdefs.h" && cp -f "/usr/include/python3.10/osmodule.h" "$(@D)/python_include/osmodule.h" && cp -f "/usr/include/python3.10/patchlevel.h" "$(@D)/python_include/patchlevel.h" && cp -f "/usr/include/python3.10/py_curses.h" "$(@D)/python_include/py_curses.h" && cp -f "/usr/include/python3.10/pycapsule.h" "$(@D)/python_include/pycapsule.h" && cp -f "/usr/include/python3.10/pyconfig-64.h" "$(@D)/python_include/pyconfig-64.h" && cp -f "/usr/include/python3.10/pyconfig.h" "$(@D)/python_include/pyconfig.h" && cp -f "/usr/include/python3.10/pydtrace.h" "$(@D)/python_include/pydtrace.h" && cp -f "/usr/include/python3.10/pyerrors.h" "$(@D)/python_include/pyerrors.h" && cp -f "/usr/include/python3.10/pyexpat.h" "$(@D)/python_include/pyexpat.h" && cp -f "/usr/include/python3.10/pyframe.h" "$(@D)/python_include/pyframe.h" && cp -f "/usr/include/python3.10/pyhash.h" "$(@D)/python_include/pyhash.h" && cp -f "/usr/include/python3.10/pylifecycle.h" "$(@D)/python_include/pylifecycle.h" && cp -f "/usr/include/python3.10/pymacconfig.h" "$(@D)/python_include/pymacconfig.h" && cp -f "/usr/include/python3.10/pymacro.h" "$(@D)/python_include/pymacro.h" && cp -f "/usr/include/python3.10/pymath.h" "$(@D)/python_include/pymath.h" && cp -f "/usr/include/python3.10/pymem.h" "$(@D)/python_include/pymem.h" && cp -f "/usr/include/python3.10/pyport.h" "$(@D)/python_include/pyport.h" && cp -f "/usr/include/python3.10/pystate.h" "$(@D)/python_include/pystate.h" && cp -f "/usr/include/python3.10/pystrcmp.h" "$(@D)/python_include/pystrcmp.h" && cp -f "/usr/include/python3.10/pystrhex.h" "$(@D)/python_include/pystrhex.h" && cp -f "/usr/include/python3.10/pystrtod.h" "$(@D)/python_include/pystrtod.h" && cp -f "/usr/include/python3.10/pythonrun.h" "$(@D)/python_include/pythonrun.h" && cp -f "/usr/include/python3.10/pythread.h" "$(@D)/python_include/pythread.h" && cp -f "/usr/include/python3.10/rangeobject.h" "$(@D)/python_include/rangeobject.h" && cp -f "/usr/include/python3.10/setobject.h" "$(@D)/python_include/setobject.h" && cp -f "/usr/include/python3.10/sliceobject.h" "$(@D)/python_include/sliceobject.h" && cp -f "/usr/include/python3.10/structmember.h" "$(@D)/python_include/structmember.h" && cp -f "/usr/include/python3.10/structseq.h" "$(@D)/python_include/structseq.h" && cp -f "/usr/include/python3.10/sysmodule.h" "$(@D)/python_include/sysmodule.h" && cp -f "/usr/include/python3.10/token.h" "$(@D)/python_include/token.h" && cp -f "/usr/include/python3.10/traceback.h" "$(@D)/python_include/traceback.h" && cp -f "/usr/include/python3.10/tracemalloc.h" "$(@D)/python_include/tracemalloc.h" && cp -f "/usr/include/python3.10/tupleobject.h" "$(@D)/python_include/tupleobject.h" && cp -f "/usr/include/python3.10/typeslots.h" "$(@D)/python_include/typeslots.h" && cp -f "/usr/include/python3.10/unicodeobject.h" "$(@D)/python_include/unicodeobject.h" && cp -f "/usr/include/python3.10/warnings.h" "$(@D)/python_include/warnings.h" && cp -f "/usr/include/python3.10/weakrefobject.h" "$(@D)/python_include/weakrefobject.h" -+cp -f "/usr/include/python3.9/Python-ast.h" "$(@D)/python_include/Python-ast.h" && cp -f "/usr/include/python3.9/Python.h" "$(@D)/python_include/Python.h" && cp -f "/usr/include/python3.9/abstract.h" "$(@D)/python_include/abstract.h" && cp -f "/usr/include/python3.9/asdl.h" "$(@D)/python_include/asdl.h" && cp -f "/usr/include/python3.9/ast.h" "$(@D)/python_include/ast.h" && cp -f "/usr/include/python3.9/bitset.h" "$(@D)/python_include/bitset.h" && cp -f "/usr/include/python3.9/bltinmodule.h" "$(@D)/python_include/bltinmodule.h" && cp -f "/usr/include/python3.9/boolobject.h" "$(@D)/python_include/boolobject.h" && cp -f "/usr/include/python3.9/bytearrayobject.h" "$(@D)/python_include/bytearrayobject.h" && cp -f "/usr/include/python3.9/bytesobject.h" "$(@D)/python_include/bytesobject.h" && cp -f "/usr/include/python3.9/cellobject.h" "$(@D)/python_include/cellobject.h" && cp -f "/usr/include/python3.9/ceval.h" "$(@D)/python_include/ceval.h" && cp -f "/usr/include/python3.9/classobject.h" "$(@D)/python_include/classobject.h" && cp -f "/usr/include/python3.9/code.h" "$(@D)/python_include/code.h" && cp -f "/usr/include/python3.9/codecs.h" "$(@D)/python_include/codecs.h" && cp -f "/usr/include/python3.9/compile.h" "$(@D)/python_include/compile.h" && cp -f "/usr/include/python3.9/complexobject.h" "$(@D)/python_include/complexobject.h" && cp -f "/usr/include/python3.9/context.h" "$(@D)/python_include/context.h" && cp -f "/usr/include/python3.9/cpython/abstract.h" "$(@D)/python_include/cpython/abstract.h" && cp -f "/usr/include/python3.9/cpython/bytearrayobject.h" "$(@D)/python_include/cpython/bytearrayobject.h" && cp -f "/usr/include/python3.9/cpython/bytesobject.h" "$(@D)/python_include/cpython/bytesobject.h" && cp -f "/usr/include/python3.9/cpython/ceval.h" "$(@D)/python_include/cpython/ceval.h" && cp -f "/usr/include/python3.9/cpython/code.h" "$(@D)/python_include/cpython/code.h" && cp -f "/usr/include/python3.9/cpython/dictobject.h" "$(@D)/python_include/cpython/dictobject.h" && cp -f "/usr/include/python3.9/cpython/fileobject.h" "$(@D)/python_include/cpython/fileobject.h" && cp -f "/usr/include/python3.9/cpython/fileutils.h" "$(@D)/python_include/cpython/fileutils.h" && cp -f "/usr/include/python3.9/cpython/frameobject.h" "$(@D)/python_include/cpython/frameobject.h" && cp -f "/usr/include/python3.9/cpython/import.h" "$(@D)/python_include/cpython/import.h" && cp -f "/usr/include/python3.9/cpython/initconfig.h" "$(@D)/python_include/cpython/initconfig.h" && cp -f "/usr/include/python3.9/cpython/interpreteridobject.h" "$(@D)/python_include/cpython/interpreteridobject.h" && cp -f "/usr/include/python3.9/cpython/listobject.h" "$(@D)/python_include/cpython/listobject.h" && cp -f "/usr/include/python3.9/cpython/methodobject.h" "$(@D)/python_include/cpython/methodobject.h" && cp -f "/usr/include/python3.9/cpython/object.h" "$(@D)/python_include/cpython/object.h" && cp -f "/usr/include/python3.9/cpython/objimpl.h" "$(@D)/python_include/cpython/objimpl.h" && cp -f "/usr/include/python3.9/cpython/pyerrors.h" "$(@D)/python_include/cpython/pyerrors.h" && cp -f "/usr/include/python3.9/cpython/pylifecycle.h" "$(@D)/python_include/cpython/pylifecycle.h" && cp -f "/usr/include/python3.9/cpython/pymem.h" "$(@D)/python_include/cpython/pymem.h" && cp -f "/usr/include/python3.9/cpython/pystate.h" "$(@D)/python_include/cpython/pystate.h" && cp -f "/usr/include/python3.9/cpython/sysmodule.h" "$(@D)/python_include/cpython/sysmodule.h" && cp -f "/usr/include/python3.9/cpython/traceback.h" "$(@D)/python_include/cpython/traceback.h" && cp -f "/usr/include/python3.9/cpython/tupleobject.h" "$(@D)/python_include/cpython/tupleobject.h" && cp -f "/usr/include/python3.9/cpython/unicodeobject.h" "$(@D)/python_include/cpython/unicodeobject.h" && cp -f "/usr/include/python3.9/datetime.h" "$(@D)/python_include/datetime.h" && cp -f "/usr/include/python3.9/descrobject.h" "$(@D)/python_include/descrobject.h" && cp -f "/usr/include/python3.9/dictobject.h" "$(@D)/python_include/dictobject.h" && cp -f "/usr/include/python3.9/dynamic_annotations.h" "$(@D)/python_include/dynamic_annotations.h" && cp -f "/usr/include/python3.9/enumobject.h" "$(@D)/python_include/enumobject.h" && cp -f "/usr/include/python3.9/errcode.h" "$(@D)/python_include/errcode.h" && cp -f "/usr/include/python3.9/eval.h" "$(@D)/python_include/eval.h" && cp -f "/usr/include/python3.9/exports.h" "$(@D)/python_include/exports.h" && cp -f "/usr/include/python3.9/fileobject.h" "$(@D)/python_include/fileobject.h" && cp -f "/usr/include/python3.9/fileutils.h" "$(@D)/python_include/fileutils.h" && cp -f "/usr/include/python3.9/floatobject.h" "$(@D)/python_include/floatobject.h" && cp -f "/usr/include/python3.9/frameobject.h" "$(@D)/python_include/frameobject.h" && cp -f "/usr/include/python3.9/funcobject.h" "$(@D)/python_include/funcobject.h" && cp -f "/usr/include/python3.9/genericaliasobject.h" "$(@D)/python_include/genericaliasobject.h" && cp -f "/usr/include/python3.9/genobject.h" "$(@D)/python_include/genobject.h" && cp -f "/usr/include/python3.9/graminit.h" "$(@D)/python_include/graminit.h" && cp -f "/usr/include/python3.9/grammar.h" "$(@D)/python_include/grammar.h" && cp -f "/usr/include/python3.9/import.h" "$(@D)/python_include/import.h" && cp -f "/usr/include/python3.9/internal/pegen_interface.h" "$(@D)/python_include/internal/pegen_interface.h" && cp -f "/usr/include/python3.9/internal/pycore_abstract.h" "$(@D)/python_include/internal/pycore_abstract.h" && cp -f "/usr/include/python3.9/internal/pycore_accu.h" "$(@D)/python_include/internal/pycore_accu.h" && cp -f "/usr/include/python3.9/internal/pycore_atomic.h" "$(@D)/python_include/internal/pycore_atomic.h" && cp -f "/usr/include/python3.9/internal/pycore_bytes_methods.h" "$(@D)/python_include/internal/pycore_bytes_methods.h" && cp -f "/usr/include/python3.9/internal/pycore_byteswap.h" "$(@D)/python_include/internal/pycore_byteswap.h" && cp -f "/usr/include/python3.9/internal/pycore_call.h" "$(@D)/python_include/internal/pycore_call.h" && cp -f "/usr/include/python3.9/internal/pycore_ceval.h" "$(@D)/python_include/internal/pycore_ceval.h" && cp -f "/usr/include/python3.9/internal/pycore_code.h" "$(@D)/python_include/internal/pycore_code.h" && cp -f "/usr/include/python3.9/internal/pycore_condvar.h" "$(@D)/python_include/internal/pycore_condvar.h" && cp -f "/usr/include/python3.9/internal/pycore_context.h" "$(@D)/python_include/internal/pycore_context.h" && cp -f "/usr/include/python3.9/internal/pycore_dtoa.h" "$(@D)/python_include/internal/pycore_dtoa.h" && cp -f "/usr/include/python3.9/internal/pycore_fileutils.h" "$(@D)/python_include/internal/pycore_fileutils.h" && cp -f "/usr/include/python3.9/internal/pycore_gc.h" "$(@D)/python_include/internal/pycore_gc.h" && cp -f "/usr/include/python3.9/internal/pycore_getopt.h" "$(@D)/python_include/internal/pycore_getopt.h" && cp -f "/usr/include/python3.9/internal/pycore_gil.h" "$(@D)/python_include/internal/pycore_gil.h" && cp -f "/usr/include/python3.9/internal/pycore_hamt.h" "$(@D)/python_include/internal/pycore_hamt.h" && cp -f "/usr/include/python3.9/internal/pycore_hashtable.h" "$(@D)/python_include/internal/pycore_hashtable.h" && cp -f "/usr/include/python3.9/internal/pycore_import.h" "$(@D)/python_include/internal/pycore_import.h" && cp -f "/usr/include/python3.9/internal/pycore_initconfig.h" "$(@D)/python_include/internal/pycore_initconfig.h" && cp -f "/usr/include/python3.9/internal/pycore_interp.h" "$(@D)/python_include/internal/pycore_interp.h" && cp -f "/usr/include/python3.9/internal/pycore_object.h" "$(@D)/python_include/internal/pycore_object.h" && cp -f "/usr/include/python3.9/internal/pycore_pathconfig.h" "$(@D)/python_include/internal/pycore_pathconfig.h" && cp -f "/usr/include/python3.9/internal/pycore_pyerrors.h" "$(@D)/python_include/internal/pycore_pyerrors.h" && cp -f "/usr/include/python3.9/internal/pycore_pyhash.h" "$(@D)/python_include/internal/pycore_pyhash.h" && cp -f "/usr/include/python3.9/internal/pycore_pylifecycle.h" "$(@D)/python_include/internal/pycore_pylifecycle.h" && cp -f "/usr/include/python3.9/internal/pycore_pymem.h" "$(@D)/python_include/internal/pycore_pymem.h" && cp -f "/usr/include/python3.9/internal/pycore_pystate.h" "$(@D)/python_include/internal/pycore_pystate.h" && cp -f "/usr/include/python3.9/internal/pycore_runtime.h" "$(@D)/python_include/internal/pycore_runtime.h" && cp -f "/usr/include/python3.9/internal/pycore_sysmodule.h" "$(@D)/python_include/internal/pycore_sysmodule.h" && cp -f "/usr/include/python3.9/internal/pycore_traceback.h" "$(@D)/python_include/internal/pycore_traceback.h" && cp -f "/usr/include/python3.9/internal/pycore_tupleobject.h" "$(@D)/python_include/internal/pycore_tupleobject.h" && cp -f "/usr/include/python3.9/internal/pycore_warnings.h" "$(@D)/python_include/internal/pycore_warnings.h" && cp -f "/usr/include/python3.9/interpreteridobject.h" "$(@D)/python_include/interpreteridobject.h" && cp -f "/usr/include/python3.9/intrcheck.h" "$(@D)/python_include/intrcheck.h" && cp -f "/usr/include/python3.9/iterobject.h" "$(@D)/python_include/iterobject.h" && cp -f "/usr/include/python3.9/listobject.h" "$(@D)/python_include/listobject.h" && cp -f "/usr/include/python3.9/longintrepr.h" "$(@D)/python_include/longintrepr.h" && cp -f "/usr/include/python3.9/longobject.h" "$(@D)/python_include/longobject.h" && cp -f "/usr/include/python3.9/marshal.h" "$(@D)/python_include/marshal.h" && cp -f "/usr/include/python3.9/memoryobject.h" "$(@D)/python_include/memoryobject.h" && cp -f "/usr/include/python3.9/methodobject.h" "$(@D)/python_include/methodobject.h" && cp -f "/usr/include/python3.9/modsupport.h" "$(@D)/python_include/modsupport.h" && cp -f "/usr/include/python3.9/moduleobject.h" "$(@D)/python_include/moduleobject.h" && cp -f "/usr/include/python3.9/namespaceobject.h" "$(@D)/python_include/namespaceobject.h" && cp -f "/usr/include/python3.9/node.h" "$(@D)/python_include/node.h" && cp -f "/usr/include/python3.9/object.h" "$(@D)/python_include/object.h" && cp -f "/usr/include/python3.9/objimpl.h" "$(@D)/python_include/objimpl.h" && cp -f "/usr/include/python3.9/odictobject.h" "$(@D)/python_include/odictobject.h" && cp -f "/usr/include/python3.9/opcode.h" "$(@D)/python_include/opcode.h" && cp -f "/usr/include/python3.9/osdefs.h" "$(@D)/python_include/osdefs.h" && cp -f "/usr/include/python3.9/osmodule.h" "$(@D)/python_include/osmodule.h" && cp -f "/usr/include/python3.9/parsetok.h" "$(@D)/python_include/parsetok.h" && cp -f "/usr/include/python3.9/patchlevel.h" "$(@D)/python_include/patchlevel.h" && cp -f "/usr/include/python3.9/picklebufobject.h" "$(@D)/python_include/picklebufobject.h" && cp -f "/usr/include/python3.9/py_curses.h" "$(@D)/python_include/py_curses.h" && cp -f "/usr/include/python3.9/pyarena.h" "$(@D)/python_include/pyarena.h" && cp -f "/usr/include/python3.9/pycapsule.h" "$(@D)/python_include/pycapsule.h" && cp -f "/usr/include/python3.9/pyconfig-64.h" "$(@D)/python_include/pyconfig-64.h" && cp -f "/usr/include/python3.9/pyconfig.h" "$(@D)/python_include/pyconfig.h" && cp -f "/usr/include/python3.9/pyctype.h" "$(@D)/python_include/pyctype.h" && cp -f "/usr/include/python3.9/pydebug.h" "$(@D)/python_include/pydebug.h" && cp -f "/usr/include/python3.9/pydtrace.h" "$(@D)/python_include/pydtrace.h" && cp -f "/usr/include/python3.9/pyerrors.h" "$(@D)/python_include/pyerrors.h" && cp -f "/usr/include/python3.9/pyexpat.h" "$(@D)/python_include/pyexpat.h" && cp -f "/usr/include/python3.9/pyfpe.h" "$(@D)/python_include/pyfpe.h" && cp -f "/usr/include/python3.9/pyframe.h" "$(@D)/python_include/pyframe.h" && cp -f "/usr/include/python3.9/pyhash.h" "$(@D)/python_include/pyhash.h" && cp -f "/usr/include/python3.9/pylifecycle.h" "$(@D)/python_include/pylifecycle.h" && cp -f "/usr/include/python3.9/pymacconfig.h" "$(@D)/python_include/pymacconfig.h" && cp -f "/usr/include/python3.9/pymacro.h" "$(@D)/python_include/pymacro.h" && cp -f "/usr/include/python3.9/pymath.h" "$(@D)/python_include/pymath.h" && cp -f "/usr/include/python3.9/pymem.h" "$(@D)/python_include/pymem.h" && cp -f "/usr/include/python3.9/pyport.h" "$(@D)/python_include/pyport.h" && cp -f "/usr/include/python3.9/pystate.h" "$(@D)/python_include/pystate.h" && cp -f "/usr/include/python3.9/pystrcmp.h" "$(@D)/python_include/pystrcmp.h" && cp -f "/usr/include/python3.9/pystrhex.h" "$(@D)/python_include/pystrhex.h" && cp -f "/usr/include/python3.9/pystrtod.h" "$(@D)/python_include/pystrtod.h" && cp -f "/usr/include/python3.9/pythonrun.h" "$(@D)/python_include/pythonrun.h" && cp -f "/usr/include/python3.9/pythread.h" "$(@D)/python_include/pythread.h" && cp -f "/usr/include/python3.9/pytime.h" "$(@D)/python_include/pytime.h" && cp -f "/usr/include/python3.9/rangeobject.h" "$(@D)/python_include/rangeobject.h" && cp -f "/usr/include/python3.9/setobject.h" "$(@D)/python_include/setobject.h" && cp -f "/usr/include/python3.9/sliceobject.h" "$(@D)/python_include/sliceobject.h" && cp -f "/usr/include/python3.9/structmember.h" "$(@D)/python_include/structmember.h" && cp -f "/usr/include/python3.9/structseq.h" "$(@D)/python_include/structseq.h" && cp -f "/usr/include/python3.9/symtable.h" "$(@D)/python_include/symtable.h" && cp -f "/usr/include/python3.9/sysmodule.h" "$(@D)/python_include/sysmodule.h" && cp -f "/usr/include/python3.9/token.h" "$(@D)/python_include/token.h" && cp -f "/usr/include/python3.9/traceback.h" "$(@D)/python_include/traceback.h" && cp -f "/usr/include/python3.9/tracemalloc.h" "$(@D)/python_include/tracemalloc.h" && cp -f "/usr/include/python3.9/tupleobject.h" "$(@D)/python_include/tupleobject.h" && cp -f "/usr/include/python3.9/typeslots.h" "$(@D)/python_include/typeslots.h" && cp -f "/usr/include/python3.9/ucnhash.h" "$(@D)/python_include/ucnhash.h" && cp -f "/usr/include/python3.9/unicodeobject.h" "$(@D)/python_include/unicodeobject.h" && cp -f "/usr/include/python3.9/warnings.h" "$(@D)/python_include/warnings.h" && cp -f "/usr/include/python3.9/weakrefobject.h" "$(@D)/python_include/weakrefobject.h" - """, - ) - -@@ -282,7 +276,7 @@ genrule( - "numpy_include/numpy/utils.h", - ], - cmd = """ --cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__multiarray_api.h" "$(@D)/numpy_include/numpy/__multiarray_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/__ufunc_api.h" "$(@D)/numpy_include/numpy/__ufunc_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/_neighborhood_iterator_imp.h" "$(@D)/numpy_include/numpy/_neighborhood_iterator_imp.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/_numpyconfig.h" "$(@D)/numpy_include/numpy/_numpyconfig.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h" "$(@D)/numpy_include/numpy/arrayobject.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/arrayscalars.h" "$(@D)/numpy_include/numpy/arrayscalars.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/halffloat.h" "$(@D)/numpy_include/numpy/halffloat.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/libdivide/LICENSE.txt" "$(@D)/numpy_include/numpy/libdivide/LICENSE.txt" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/libdivide/libdivide.h" "$(@D)/numpy_include/numpy/libdivide/libdivide.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/multiarray_api.txt" "$(@D)/numpy_include/numpy/multiarray_api.txt" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h" "$(@D)/numpy_include/numpy/ndarrayobject.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h" "$(@D)/numpy_include/numpy/ndarraytypes.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/noprefix.h" "$(@D)/numpy_include/numpy/noprefix.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_1_7_deprecated_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_3kcompat.h" "$(@D)/numpy_include/numpy/npy_3kcompat.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_common.h" "$(@D)/numpy_include/numpy/npy_common.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_cpu.h" "$(@D)/numpy_include/numpy/npy_cpu.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_endian.h" "$(@D)/numpy_include/numpy/npy_endian.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_interrupt.h" "$(@D)/numpy_include/numpy/npy_interrupt.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_math.h" "$(@D)/numpy_include/numpy/npy_math.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_no_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_no_deprecated_api.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/npy_os.h" "$(@D)/numpy_include/numpy/npy_os.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/numpyconfig.h" "$(@D)/numpy_include/numpy/numpyconfig.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/old_defines.h" "$(@D)/numpy_include/numpy/old_defines.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/oldnumeric.h" "$(@D)/numpy_include/numpy/oldnumeric.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/random/bitgen.h" "$(@D)/numpy_include/numpy/random/bitgen.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/random/distributions.h" "$(@D)/numpy_include/numpy/random/distributions.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ufunc_api.txt" "$(@D)/numpy_include/numpy/ufunc_api.txt" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/ufuncobject.h" "$(@D)/numpy_include/numpy/ufuncobject.h" && cp -f "/usr/lib64/python3.10/site-packages/numpy/core/include/numpy/utils.h" "$(@D)/numpy_include/numpy/utils.h" -+cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/__multiarray_api.h" "$(@D)/numpy_include/numpy/__multiarray_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/__ufunc_api.h" "$(@D)/numpy_include/numpy/__ufunc_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/_neighborhood_iterator_imp.h" "$(@D)/numpy_include/numpy/_neighborhood_iterator_imp.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/_numpyconfig.h" "$(@D)/numpy_include/numpy/_numpyconfig.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h" "$(@D)/numpy_include/numpy/arrayobject.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/arrayscalars.h" "$(@D)/numpy_include/numpy/arrayscalars.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/halffloat.h" "$(@D)/numpy_include/numpy/halffloat.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/libdivide/LICENSE.txt" "$(@D)/numpy_include/numpy/libdivide/LICENSE.txt" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/libdivide/libdivide.h" "$(@D)/numpy_include/numpy/libdivide/libdivide.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/multiarray_api.txt" "$(@D)/numpy_include/numpy/multiarray_api.txt" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h" "$(@D)/numpy_include/numpy/ndarrayobject.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h" "$(@D)/numpy_include/numpy/ndarraytypes.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/noprefix.h" "$(@D)/numpy_include/numpy/noprefix.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_1_7_deprecated_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_3kcompat.h" "$(@D)/numpy_include/numpy/npy_3kcompat.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_common.h" "$(@D)/numpy_include/numpy/npy_common.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_cpu.h" "$(@D)/numpy_include/numpy/npy_cpu.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_endian.h" "$(@D)/numpy_include/numpy/npy_endian.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_interrupt.h" "$(@D)/numpy_include/numpy/npy_interrupt.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_math.h" "$(@D)/numpy_include/numpy/npy_math.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_no_deprecated_api.h" "$(@D)/numpy_include/numpy/npy_no_deprecated_api.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/npy_os.h" "$(@D)/numpy_include/numpy/npy_os.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/numpyconfig.h" "$(@D)/numpy_include/numpy/numpyconfig.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/old_defines.h" "$(@D)/numpy_include/numpy/old_defines.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/oldnumeric.h" "$(@D)/numpy_include/numpy/oldnumeric.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/random/bitgen.h" "$(@D)/numpy_include/numpy/random/bitgen.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/random/distributions.h" "$(@D)/numpy_include/numpy/random/distributions.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ufunc_api.txt" "$(@D)/numpy_include/numpy/ufunc_api.txt" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/ufuncobject.h" "$(@D)/numpy_include/numpy/ufuncobject.h" && cp -f "/usr/lib64/python3.9/site-packages/numpy/core/include/numpy/utils.h" "$(@D)/numpy_include/numpy/utils.h" - """, - ) - diff --git a/external.tar.bz2.partaa b/external.tar.bz2.partaa index a69fe5625376e9cc34e653a4c02aa69cf8800500..b5ee37a95b417cd1f1315dc834aebd4900e91778 100644 Binary files a/external.tar.bz2.partaa and b/external.tar.bz2.partaa differ diff --git a/external.tar.bz2.partab b/external.tar.bz2.partab index 235ad166fda3de62c2834b4a091eda38c7172ce5..8be1015ad70334a81b29478b53149ef9cd0e5cc1 100644 Binary files a/external.tar.bz2.partab and b/external.tar.bz2.partab differ diff --git a/external.tar.bz2.partac b/external.tar.bz2.partac index ad7c7e9265c6aac27660ad4f7a402080f96cf490..b9650878b268a6bc3c8f541a6575af7a7dbc0a9f 100644 Binary files a/external.tar.bz2.partac and b/external.tar.bz2.partac differ diff --git a/fix-boringssl-compile.patch b/fix-boringssl-compile.patch new file mode 100644 index 0000000000000000000000000000000000000000..6427ddb7158dd522ae9bcafff2c34f26909f491e --- /dev/null +++ b/fix-boringssl-compile.patch @@ -0,0 +1,16 @@ +--- tensorflow-2.12.1/tensorflow/workspace2.bzl.ori 2023-06-27 18:05:39.000000000 +0000 ++++ tensorflow-2.12.1/tensorflow/workspace2.bzl 2023-09-07 07:33:25.037000000 +0000 +@@ -567,10 +567,10 @@ def _tf_repositories(): + + tf_http_archive( + name = "boringssl", +- sha256 = "534fa658bd845fd974b50b10f444d392dfd0d93768c4a51b61263fd37d851c40", +- strip_prefix = "boringssl-b9232f9e27e5668bc0414879dcdedb2a59ea75f2", ++ sha256 = "9dc53f851107eaf87b391136d13b815df97ec8f76dadb487b58b2fc45e624d2c", ++ strip_prefix = "boringssl-c00d7ca810e93780bd0c8ee4eea28f4f2ea4bcdc", + system_build_file = "//third_party/systemlibs:boringssl.BUILD", +- urls = tf_mirror_urls("https://github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz"), ++ urls = tf_mirror_urls("https://github.com/google/boringssl/archive/c00d7ca810e93780bd0c8ee4eea28f4f2ea4bcdc.tar.gz"), + ) + + # Note: if you update this, you have to update libpng too. See cl/437813808 diff --git a/modify-deps-on-libclang-gcsfs-gast.patch b/modify-deps-on-libclang-gcsfs-gast.patch index a424478b30f812b1bef824337b935eb8dda015cb..8bbd156b484abfb6226c19bf62db2c8acff2078b 100644 --- a/modify-deps-on-libclang-gcsfs-gast.patch +++ b/modify-deps-on-libclang-gcsfs-gast.patch @@ -1,6 +1,6 @@ ---- a/tensorflow/tools/pip_package/setup.py 2022-11-30 08:53:15.528680400 +0800 -+++ b/tensorflow/tools/pip_package/setup.py 2022-11-30 08:53:37.069067700 +0800 -@@ -78,11 +78,11 @@ REQUIRED_PACKAGES = [ +--- a/tensorflow/tools/pip_package/setup.py.ori 2023-09-06 08:06:32.905000000 +0000 ++++ b/tensorflow/tools/pip_package/setup.py 2023-09-06 08:09:19.074000000 +0000 +@@ -86,13 +86,13 @@ REQUIRED_PACKAGES = [ 'astunparse >= 1.6.0', 'flatbuffers >= 2.0', # TODO(b/213222745) gast versions above 0.4.0 break TF's tests @@ -8,18 +8,22 @@ + 'gast >= 0.2.1', 'google_pasta >= 0.1.1', 'h5py >= 2.9.0', - 'keras_preprocessing >= 1.1.1', # 1.1.0 needs tensorflow==1.7 + # TODO(b/239052279): replace with external dependency on JAX repo once JAX + # no longer relies on TF. + 'jax >= 0.3.15', - 'libclang >= 13.0.0', + #'libclang >= 13.0.0', - 'numpy >= 1.20', + # TODO(b/263178356): numpy 1.24 breaks TF's tests + 'numpy >= 1.22, <= 1.24.3', 'opt_einsum >= 2.3.2', - 'packaging', -@@ -99,7 +99,7 @@ REQUIRED_PACKAGES = [ - 'termcolor >= 1.1.0', - 'typing_extensions >= 3.6.6', - 'wrapt >= 1.11.0', -- 'tensorflow-io-gcs-filesystem >= 0.23.1', -+ #'tensorflow-io-gcs-filesystem >= 0.23.1', +@@ -111,8 +111,8 @@ REQUIRED_PACKAGES = [ + 'typing_extensions>=3.6.6,<4.6.0', + # TODO(b/266362323): wrapt==1.15.0rc0 incompatible with TF 2.12.0 RC0 (and + # nightly, but works with TF 2.11) +- 'wrapt >= 1.11.0, <1.15', +- 'tensorflow-io-gcs-filesystem >= 0.23.1;platform_machine!="arm64" or ' + ++ 'wrapt >= 1.11.0', ++ #'tensorflow-io-gcs-filesystem >= 0.23.1;platform_machine!="arm64" or ' + + 'platform_system!="Darwin"', # grpcio does not build correctly on big-endian machines due to lack of # BoringSSL support. - # See https://github.com/tensorflow/tensorflow/issues/17882. diff --git a/tensorflow-2.10.0.tar.gz b/tensorflow-2.12.1.tar.gz similarity index 81% rename from tensorflow-2.10.0.tar.gz rename to tensorflow-2.12.1.tar.gz index 829eef868bf49eacb9d71158139b7f40ebeeae39..1eb4d1c4425ffee8104d06572f26e9dbb0173202 100644 Binary files a/tensorflow-2.10.0.tar.gz and b/tensorflow-2.12.1.tar.gz differ diff --git a/tensorflow.spec b/tensorflow.spec index 2fe3ef5cbfacfcdce35023d8969fc4cfce6e11e4..4f12cc0dbda15c25858cd61ea5900ffea6450407 100644 --- a/tensorflow.spec +++ b/tensorflow.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: tensorflow -Version: 2.10.0 -Release: 3 +Version: 2.12.1 +Release: 0 Summary: An Open Source Machine Learning Framework for Everyone License: Apache License 2.0 URL: https://www.tensorflow.org/ @@ -9,8 +9,9 @@ Source0: https://github.com/tensorflow/tensorflow/archive/v%{version}.tar Source1: external.tar.bz2.partaa Source2: external.tar.bz2.partab Source3: external.tar.bz2.partac -Source4: aarch64_external_files.patch +Source4: aarch64_external_files.patch Patch0: modify-deps-on-libclang-gcsfs-gast.patch +Patch1: fix-boringssl-compile.patch Requires: python3-future python3-numpy python3-six python3-astunparse python3-google-pasta python3-opt-einsum Requires: python3-typing-extensions python3-wrapt python3-h5py python3-protobuf python3-grpcio python3-absl-py Requires: python3-flatbuffers python3-gast @@ -26,7 +27,7 @@ TensorFlow provides stable Python and C++ APIs, as well as non-guaranteed backwa Summary: An Open Source Machine Learning Framework for Everyone Provides: python-tensorflow Provides: python%{python3_version}dist(tensorflow) = %{version} -BuildRequires: bazel == 5.1.1 gcc gcc-c++ git +BuildRequires: bazel == 5.3.0 gcc gcc-c++ git BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing python3-pip python3-wheel python3-packaging python3-requests %description -n python3-tensorflow @@ -40,6 +41,7 @@ TensorFlow provides stable Python and C++ APIs, as well as non-guaranteed backwa %autosetup -p1 extdir=$(bazel --output_user_root=`pwd`/../output_user_root info output_base) mkdir -p ${extdir} +instdir=$(bazel --output_user_root=`pwd`/../output_user_root info install_base) cat %{SOURCE1} %{SOURCE2} %{SOURCE3} > external.tar.bz2 tar xf external.tar.bz2 -C ${extdir} %ifarch aarch64 @@ -47,15 +49,15 @@ patch -d ${extdir} -p0 < %{SOURCE4} %endif ln -sfn $(find ${extdir}/../install -name embedded_tools) ${extdir}/external/bazel_tools ln -sfn $(find ${extdir}/../install -maxdepth 2 -name platforms) ${extdir}/external/platforms -for f in $(find $extdir -lname "/home/abuild/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${HOME}/rpmbuild${OLDLINK#*rpmbuild}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f; done -for f in $(find $extdir -lname "*/external/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${extdir}/external/${OLDLINK#*external}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f; done -rm -rf ${extdir}/external/local_config* +for f in $(find $extdir/external -lname "*/external/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${extdir}/external/${OLDLINK#*external}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f; done +for f in $(find $extdir/external -lname "*/rpmbuild/*"); do OLDLINK=$(readlink $f); echo $OLDLINK; NEWLINK=${HOME}/rpmbuild/${OLDLINK#*rpmbuild}; ln -sf $NEWLINK $f-newlink; mv -Tf $f-newlink $f;done +#rm -rf ${extdir}/external/local_config* %build mkdir -p ${HOME}/.local/bin ln -s -f -T $(command -v python3) ${HOME}/.local/bin/python export PATH=${HOME}/.local/bin:$PATH -bazel --output_user_root=`pwd`/../output_user_root build --host_copt=-Wno-stringop-truncation //tensorflow/tools/pip_package:build_pip_package --verbose_failures --experimental_local_memory_estimate --jobs=16 +bazel --output_user_root=`pwd`/../output_user_root build --nofetch --host_copt=-Wno-stringop-truncation //tensorflow/tools/pip_package:build_pip_package --verbose_failures --experimental_local_memory_estimate --jobs=16 ./bazel-bin/tensorflow/tools/pip_package/build_pip_package dist %install @@ -66,6 +68,9 @@ bazel --output_user_root=`pwd`/../output_user_root build --host_copt=-Wno-string %{_bindir}/* %changelog +* Sat Sep 9 2023 Jincheng Miao - 2.12.1-0 +- update version to 2.12.1 + * Fri Apr 14 2023 ZhangChao - 2.10.0-3 - Fix EBS build