Projects
Eulaceura:Factory
tensorflow
_service:obs_scm:aarch64_external_files.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:aarch64_external_files.patch of Package tensorflow
diff -Nurp external-x86_64/go_sdk/BUILD.bazel external/go_sdk/BUILD.bazel --- external-x86_64/go_sdk/BUILD.bazel 2023-08-28 15:08:25.000000000 +0800 +++ external/go_sdk/BUILD.bazel 2023-08-31 11:47:56.000000000 +0800 @@ -7,8 +7,8 @@ package(default_visibility = ["//visibil filegroup( name = "libs", srcs = glob( - ["pkg/linux_amd64/**/*.a"], - exclude = ["pkg/linux_amd64/**/cmd/**"], + ["pkg/linux_arm64/**/*.a"], + exclude = ["pkg/linux_arm64/**/cmd/**"], ), ) @@ -34,7 +34,7 @@ go_sdk( name = "go_sdk", srcs = [":srcs"], go = "bin/go", - goarch = "amd64", + goarch = "arm64", goos = "linux", headers = [":headers"], libs = [":libs"], @@ -60,7 +60,7 @@ package_list( declare_toolchains( builder = ":builder", - host = "linux_amd64", + host = "linux_arm64", sdk = ":go_sdk", ) diff -Nurp external-x86_64/go_sdk/src/internal/buildcfg/zbootstrap.go external/go_sdk/src/internal/buildcfg/zbootstrap.go --- external-x86_64/go_sdk/src/internal/buildcfg/zbootstrap.go 2022-07-12 23:23:16.000000000 +0800 +++ external/go_sdk/src/internal/buildcfg/zbootstrap.go 2022-07-12 23:23:09.000000000 +0800 @@ -12,7 +12,7 @@ const defaultGOMIPS64 = `hardfloat` const defaultGOPPC64 = `power8` const defaultGOEXPERIMENT = `` const defaultGO_EXTLINK_ENABLED = `` -const defaultGO_LDSO = `/lib64/ld-linux-x86-64.so.2` +const defaultGO_LDSO = `/lib/ld-linux-aarch64.so.1` const version = `go1.18.4` const defaultGOOS = runtime.GOOS const defaultGOARCH = runtime.GOARCH diff -Nurp external-x86_64/local_config_cc/BUILD external/local_config_cc/BUILD --- external-x86_64/local_config_cc/BUILD 2023-08-30 14:17:49.000000000 +0800 +++ external/local_config_cc/BUILD 2023-08-31 11:49:36.000000000 +0800 @@ -47,15 +47,15 @@ filegroup( cc_toolchain_suite( name = "toolchain", 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-openEuler-linux/12/include", + cxx_builtin_include_directories = ["/usr/lib/gcc/aarch64-openEuler-linux/12/include", "/usr/local/include", "/usr/include", "/usr/include/c++/12", - "/usr/include/c++/12/x86_64-openEuler-linux", + "/usr/include/c++/12/aarch64-openEuler-linux", "/usr/include/c++/12/backward"], tool_paths = {"ar": "/usr/bin/ar", "ld": "/usr/bin/ld", diff -Nurp external-x86_64/local_config_cc/builtin_include_directory_paths external/local_config_cc/builtin_include_directory_paths --- external-x86_64/local_config_cc/builtin_include_directory_paths 2023-08-30 14:17:48.000000000 +0800 +++ external/local_config_cc/builtin_include_directory_paths 2023-08-31 11:49:24.000000000 +0800 @@ -4,9 +4,9 @@ changes to it will be reflected in the a paths change, Bazel will make sure to rerun the action, even though none of declared action inputs or the action commandline changes. -/usr/lib/gcc/x86_64-openEuler-linux/12/include +/usr/lib/gcc/aarch64-openEuler-linux/12/include /usr/local/include /usr/include /usr/include/c++/12 -/usr/include/c++/12/x86_64-openEuler-linux +/usr/include/c++/12/aarch64-openEuler-linux /usr/include/c++/12/backward diff -Nurp external-x86_64/local_config_cc_toolchains/BUILD external/local_config_cc_toolchains/BUILD --- external-x86_64/local_config_cc_toolchains/BUILD 2023-08-30 14:17:45.000000000 +0800 +++ external/local_config_cc_toolchains/BUILD 2023-08-31 11:47:52.000000000 +0800 @@ -1,10 +1,10 @@ load("@local_config_platform//:constraints.bzl", "HOST_CONSTRAINTS") 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_platform/constraints.bzl external/local_config_platform/constraints.bzl --- external-x86_64/local_config_platform/constraints.bzl 2023-08-30 15:04:11.000000000 +0800 +++ external/local_config_platform/constraints.bzl 2023-09-05 15:51:53.000000000 +0800 @@ -1,6 +1,6 @@ # DO NOT EDIT: automatically generated constraints list for local_config_platform # Auto-detected host platform constraints. HOST_CONSTRAINTS = [ - '@platforms//cpu:x86_64', + '@platforms//cpu:aarch64', '@platforms//os:linux', ] +ENV:PATH /root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin diff -Nurp external-x86_64/local_execution_config_platform/BUILD external/local_execution_config_platform/BUILD --- external-x86_64/local_execution_config_platform/BUILD 2023-08-28 15:02:02.000000000 +0800 +++ external/local_execution_config_platform/BUILD 2023-08-31 11:47:06.000000000 +0800 @@ -18,7 +18,7 @@ platform( name = "platform", visibility = ["//visibility:public"], constraint_values = [ - "@platforms//cpu:x86_64", + "@platforms//cpu:aarch64", "@platforms//os:linux", ":platform_constraint", ],
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2