diff --git a/aarch64_external_files.patch b/aarch64_external_files.patch new file mode 100644 index 0000000000000000000000000000000000000000..ef7bcda5539e22995828005af33c25715c4a787f --- /dev/null +++ b/aarch64_external_files.patch @@ -0,0 +1,464 @@ +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 + filegroup( + name = "libs", + srcs = glob( +- ["pkg/linux_amd64/**/*.a"], +- exclude = ["pkg/linux_amd64/**/cmd/**"], ++ ["pkg/linux_arm64/**/*.a"], ++ exclude = ["pkg/linux_arm64/**/cmd/**"], + ), + ) + +@@ -31,7 +31,7 @@ filegroup( + go_sdk( + name = "go_sdk", + goos = "linux", +- goarch = "amd64", ++ goarch = "arm64", + root_file = "ROOT", + package_list = ":package_list", + libs = [":libs"], +@@ -57,7 +57,7 @@ package_list( + ) + + declare_toolchains( +- 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/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 +@@ -47,15 +47,15 @@ filegroup( + cc_toolchain_suite( + name = "toolchain", + toolchains = { +- "k8|compiler": ":cc-compiler-k8", +- "k8": ":cc-compiler-k8", ++ "aarch64|compiler": ":cc-compiler-aarch64", ++ "aarch64": ":cc-compiler-aarch64", + "armeabi-v7a|compiler": ":cc-compiler-armeabi-v7a", + "armeabi-v7a": ":cc-compiler-armeabi-v7a", + }, + ) + + cc_toolchain( +- name = "cc-compiler-k8", ++ name = "cc-compiler-aarch64", + toolchain_identifier = "local", + toolchain_config = ":local", + all_files = ":compiler_deps", +@@ -72,7 +72,7 @@ cc_toolchain( + + cc_toolchain_config( + name = "local", +- cpu = "k8", ++ cpu = "aarch64", + compiler = "compiler", + toolchain_identifier = "local", + host_system_name = "local", +@@ -80,11 +80,11 @@ cc_toolchain_config( + 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", + "/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"], + 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 +@@ -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/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 +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 +@@ -1,10 +1,10 @@ + load("@local_config_platform//:constraints.bzl", "HOST_CONSTRAINTS") + + toolchain( +- name = "cc-toolchain-k8", ++ name = "cc-toolchain-aarch64", + exec_compatible_with = HOST_CONSTRAINTS, + target_compatible_with = HOST_CONSTRAINTS, +- toolchain = "@local_config_cc//:cc-compiler-k8", ++ toolchain = "@local_config_cc//:cc-compiler-aarch64", + 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_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 +@@ -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", + ":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-x86_64.tar.bz2.partaa b/external-x86_64.tar.bz2.partaa deleted file mode 100644 index 3d0b7a40e08c0aee3cc5057799498ab371438ebe..0000000000000000000000000000000000000000 Binary files a/external-x86_64.tar.bz2.partaa and /dev/null differ diff --git a/external-aarch64.tar.bz2.partab b/external.tar.bz2.partaa similarity index 76% rename from external-aarch64.tar.bz2.partab rename to external.tar.bz2.partaa index 446275973439f6365f9dc11883476e16df8437b1..a69fe5625376e9cc34e653a4c02aa69cf8800500 100644 Binary files a/external-aarch64.tar.bz2.partab and b/external.tar.bz2.partaa differ diff --git a/external-aarch64.tar.bz2.partaa b/external.tar.bz2.partab similarity index 73% rename from external-aarch64.tar.bz2.partaa rename to external.tar.bz2.partab index 806729edba68e93a3594b95d7bba0d3b2bdc8bc4..235ad166fda3de62c2834b4a091eda38c7172ce5 100644 Binary files a/external-aarch64.tar.bz2.partaa and b/external.tar.bz2.partab differ diff --git a/external-x86_64.tar.bz2.partab b/external.tar.bz2.partac similarity index 85% rename from external-x86_64.tar.bz2.partab rename to external.tar.bz2.partac index 91a5ab6ad75c835e5008d3d8315d516796fd4551..ad7c7e9265c6aac27660ad4f7a402080f96cf490 100644 Binary files a/external-x86_64.tar.bz2.partab and b/external.tar.bz2.partac differ diff --git a/remove-deps-on-libclang-gcsfs.patch b/remove-deps-on-libclang-gcsfs.patch new file mode 100644 index 0000000000000000000000000000000000000000..9773c9a8ddf66f35e75f5e1cd8896292c7493a49 --- /dev/null +++ b/remove-deps-on-libclang-gcsfs.patch @@ -0,0 +1,20 @@ +--- a/tensorflow/tools/pip_package/setup.py 2022-11-14 23:25:07.647922300 +0800 ++++ b/tensorflow/tools/pip_package/setup.py 2022-11-14 23:25:36.901952800 +0800 +@@ -82,7 +82,7 @@ REQUIRED_PACKAGES = [ + 'google_pasta >= 0.1.1', + 'h5py >= 2.9.0', + 'keras_preprocessing >= 1.1.1', # 1.1.0 needs tensorflow==1.7 +- 'libclang >= 13.0.0', ++ #'libclang >= 13.0.0', + 'numpy >= 1.20', + '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', + # 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.8.2.tar.gz b/tensorflow-2.10.0.tar.gz similarity index 82% rename from tensorflow-2.8.2.tar.gz rename to tensorflow-2.10.0.tar.gz index 521c8c66f9537d87e84cf5eb873fda01eb53b95c..829eef868bf49eacb9d71158139b7f40ebeeae39 100644 Binary files a/tensorflow-2.8.2.tar.gz and b/tensorflow-2.10.0.tar.gz differ diff --git a/tensorflow.spec b/tensorflow.spec index 3af96350d00b82d1f66b70bd86896bec31b7c100..830990bc3d7b7bdd26ef46f24ffdc21ebafc0181 100644 --- a/tensorflow.spec +++ b/tensorflow.spec @@ -1,16 +1,16 @@ %global _empty_manifest_terminate_build 0 Name: tensorflow -Version: 2.8.2 -Release: 3 +Version: 2.10.0 +Release: 1 Summary: An Open Source Machine Learning Framework for Everyone License: Apache License 2.0 URL: https://www.tensorflow.org/ Source0: https://github.com/tensorflow/tensorflow/archive/v%{version}.tar.gz#/tensorflow-%{version}.tar.gz -#sh -x updateSource1.sh -Source1: external-aarch64.tar.bz2.partaa -Source2: external-aarch64.tar.bz2.partab -Source3: external-x86_64.tar.bz2.partaa -Source4: external-x86_64.tar.bz2.partab +Source1: external.tar.bz2.partaa +Source2: external.tar.bz2.partab +Source3: external.tar.bz2.partac +Source4: aarch64_external_files.patch +Patch0: remove-deps-on-libclang-gcsfs.patch Requires: python3-future python3-numpy %description @@ -24,9 +24,8 @@ 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} -#It is because external-$(arch).tar.bz2 is built on bazel 3.5.0 -BuildRequires: bazel == 4.2.1 gcc gcc-c++ git -BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing python3-pip python3-wheel +BuildRequires: bazel == 5.1.1 gcc gcc-c++ git +BuildRequires: python3-numpy python3-devel python3-Keras-Preprocessing python3-pip python3-wheel python3-packaging python3-requests %description -n python3-tensorflow TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications. @@ -39,13 +38,11 @@ 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} +cat %{SOURCE1} %{SOURCE2} %{SOURCE3} > external.tar.bz2 +tar xf external.tar.bz2 -C ${extdir} %ifarch aarch64 -cat %{SOURCE1} %{SOURCE2} > external-%{_arch}.tar.bz2 +patch -d ${extdir} -p0 < %{SOURCE4} %endif -%ifarch x86_64 -cat %{SOURCE3} %{SOURCE4} > external-%{_arch}.tar.bz2 -%endif -tar xf external-%{_arch}.tar.bz2 -C ${extdir} ln -sfn $(find ${extdir}/../install -name embedded_tools) ${extdir}/external/bazel_tools ln -sfn $(find ${extdir}/../install -maxdepth 2 -name platforms) ${extdir}/external/platforms rm -rf ${extdir}/external/local_config* @@ -54,7 +51,7 @@ rm -rf ${extdir}/external/local_config* 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 +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-bin/tensorflow/tools/pip_package/build_pip_package dist %install @@ -65,6 +62,9 @@ bazel --output_user_root=`pwd`/../output_user_root build --host_copt=-Wno-string %{_bindir}/* %changelog +* Mon Nov 14 2022 Jincheng Miao - 2.10.0-1 +- update version to 2.10.0 for oneDNN with AMX + * Thu Sep 22 2022 chendexi -2.8.2-3 - Add provides and fix build error