tensorflow/aarch64_external_files.patch
Jincheng Miao f9ec6dc6b9 update version to 2.10.0 for oneDNN with AMX
Signed-off-by: Jincheng Miao <jincheng.miao@intel.com>
2022-11-14 23:59:53 +08:00

465 lines
91 KiB
Diff

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"
""",
)