Projects
home:Kaguya
bazel
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 21
View file
bazel610-riscv64.patch
Deleted
@@ -1,353 +0,0 @@ -diff -urN a/distdir_deps.bzl b/distdir_deps.bzl ---- a/distdir_deps.bzl 1980-01-01 00:00:00.000000000 +0800 -+++ b/distdir_deps.bzl 2024-08-13 13:36:49.000000000 +0800 -@@ -230,6 +230,10 @@ - }, - "com_google_absl": { - "archive": "20211102.0.tar.gz", -+ "patch_args": "-p1", -+ "patches": -+ "//third_party:abseil-cpp/abseil-cpp-riscv.patch", -+ , - "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", - "urls": - "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", -@@ -455,6 +459,15 @@ - , - "used_in": "test_WORKSPACE_files", - }, -+ "remotejdk11_linux_riscv64": { -+ "archive": "remotejdk11_linux_riscv64.tar.gz", -+ "sha256": "6935a1e5af55363e37c5dc5a61bc220f347bbb36839e0e9f96dc1b75d079773c", -+ "strip_prefix": "java-11-openjdk", -+ "urls": -+ "https://github.com/6eanut/bazel/releases/download/jdk/remotejdk11_linux_riscv64.tar.gz", -+ , -+ "used_in": , -+ }, - "remotejdk11_linux_ppc64le": { - "aliases": - "remotejdk11_linux_ppc64le_for_testing", -@@ -796,3 +809,4 @@ - "drop them into a template.", - implementation = _gen_workspace_stanza_impl, - ) -+ -diff -urN a/src/BUILD b/src/BUILD ---- a/src/BUILD 1980-01-01 00:00:00.000000000 +0800 -+++ b/src/BUILD 2024-08-01 18:39:01.000000000 +0800 -@@ -385,7 +385,7 @@ - , - ) for suffix, jdk in - ("-dev", "_jdk_allmodules"), -- ("", "_jdk_minimal"), -+ ("", "_nojdk"), - ("_jdk_allmodules", "_jdk_allmodules"), - ("_jdk_minimal", "_jdk_minimal"), - ("_dev_jdk", "_dev_jdk"), -@@ -691,3 +691,4 @@ - for version in ("17", "18") - , - ) -+ -diff -urN a/src/main/cpp/blaze.cc b/src/main/cpp/blaze.cc ---- a/src/main/cpp/blaze.cc 1980-01-01 00:00:00.000000000 +0800 -+++ b/src/main/cpp/blaze.cc 2024-08-01 18:39:01.000000000 +0800 -@@ -1647,18 +1647,6 @@ - new blaze_util::BazelLogHandler()); - blaze_util::SetLogHandler(std::move(default_handler)); - -- const string self_path = GetSelfPath(argv0); -- -- if (argc == 2 && strcmp(argv1, "leaf") == 0) { -- PrintBazelLeaf(); -- return blaze_exit_code::SUCCESS; -- } -- -- if (argc == 2 && strcmp(argv1, "--version") == 0) { -- PrintVersionInfo(self_path, option_processor->GetLowercaseProductName()); -- return blaze_exit_code::SUCCESS; -- } -- - string cwd = GetCanonicalCwd(); - LoggingInfo logging_info(CheckAndGetBinaryPath(cwd, argv0), start_time); - -@@ -1689,6 +1677,18 @@ - StartupOptions *startup_options = option_processor->GetParsedStartupOptions(); - startup_options->MaybeLogStartupOptionWarnings(); - -+ const string self_path = GetSelfPath(argv0,*startup_options); -+ -+ if (argc == 2 && strcmp(argv1, "leaf") == 0) { -+ PrintBazelLeaf(); -+ return blaze_exit_code::SUCCESS; -+ } -+ -+ if (argc == 2 && strcmp(argv1, "--version") == 0) { -+ PrintVersionInfo(self_path, option_processor->GetLowercaseProductName()); -+ return blaze_exit_code::SUCCESS; -+ } -+ - SetDebugLog(startup_options->client_debug); - // If client_debug was false, this is ignored, so it's accurate. - BAZEL_LOG(INFO) << "Debug logging requested, sending all client log " -@@ -2185,3 +2185,4 @@ - } - - } // namespace blaze -+ -diff -urN a/src/main/cpp/blaze_util_bsd.cc b/src/main/cpp/blaze_util_bsd.cc ---- a/src/main/cpp/blaze_util_bsd.cc 1980-01-01 00:00:00.000000000 +0800 -+++ b/src/main/cpp/blaze_util_bsd.cc 2024-08-01 18:39:01.000000000 +0800 -@@ -46,6 +46,7 @@ - - #include "src/main/cpp/blaze_util.h" - #include "src/main/cpp/blaze_util_platform.h" -+#include "src/main/cpp/startup_options.h" - #include "src/main/cpp/util/errors.h" - #include "src/main/cpp/util/exit_code.h" - #include "src/main/cpp/util/file.h" -@@ -89,7 +90,7 @@ - } - } - --string GetSelfPath(const char* argv0) { -+string GetSelfPath(const char* argv0, const StartupOptions &options) { - #if defined(__FreeBSD__) - char bufferPATH_MAX = {}; - auto pid = getpid(); -@@ -236,3 +237,4 @@ - } - - } // namespace blaze -+ -diff -urN a/src/main/cpp/blaze_util_darwin.cc b/src/main/cpp/blaze_util_darwin.cc ---- a/src/main/cpp/blaze_util_darwin.cc 1980-01-01 00:00:00.000000000 +0800 -+++ b/src/main/cpp/blaze_util_darwin.cc 2024-08-01 18:39:01.000000000 +0800 -@@ -124,7 +124,7 @@ - } - } - --string GetSelfPath(const char* argv0) { -+string GetSelfPath(const char* argv0, const StartupOptions &options) { - char pathbufPROC_PIDPATHINFO_MAXSIZE = {}; - int len = proc_pidpath(getpid(), pathbuf, sizeof(pathbuf)); - if (len == 0) { -@@ -274,3 +274,4 @@ - } - - } // namespace blaze. -+ -diff -urN a/src/main/cpp/blaze_util_platform.h b/src/main/cpp/blaze_util_platform.h ---- a/src/main/cpp/blaze_util_platform.h 1980-01-01 00:00:00.000000000 +0800 -+++ b/src/main/cpp/blaze_util_platform.h 2024-08-01 18:39:01.000000000 +0800 -@@ -22,6 +22,7 @@ - #include <vector> - - #include "src/main/cpp/blaze_util.h" -+#include "src/main/cpp/startup_options.h" - #include "src/main/cpp/server_process_info.h" - #include "src/main/cpp/util/path.h" - #include "src/main/cpp/util/port.h" -@@ -113,7 +114,7 @@ - - // Gets an absolute path to the binary being executed that is guaranteed to be - // readable. --std::string GetSelfPath(const char* argv0); -+std::string GetSelfPath(const char* argv0, const StartupOptions &options); - - // Returns the directory Bazel can use to store output. - std::string GetOutputRoot(); -@@ -309,3 +310,4 @@ - } // namespace blaze - - #endif // BAZEL_SRC_MAIN_CPP_BLAZE_UTIL_PLATFORM_H_ -+ -diff -urN a/src/main/cpp/blaze_util_windows.cc b/src/main/cpp/blaze_util_windows.cc ---- a/src/main/cpp/blaze_util_windows.cc 1980-01-01 00:00:00.000000000 +0800 -+++ b/src/main/cpp/blaze_util_windows.cc 2024-08-01 18:39:01.000000000 +0800 -@@ -383,7 +383,7 @@ - return blaze_util::ToString(GetCurrentProcessId()); - } - --string GetSelfPath(const char* argv0) { -+string GetSelfPath(const char* argv0, const StartupOptions &options) { - WCHAR bufferkWindowsPathBufferSize = {0}; - if (!GetModuleFileNameW(0, buffer, kWindowsPathBufferSize)) { - BAZEL_DIE(blaze_exit_code::LOCAL_ENVIRONMENTAL_ERROR) -@@ -1454,3 +1454,4 @@ - } - - } // namespace blaze -+ -diff -urN a/src/main/cpp/get_self_path_linux.cc b/src/main/cpp/get_self_path_linux.cc ---- a/src/main/cpp/get_self_path_linux.cc 1980-01-01 00:00:00.000000000 +0800 -+++ b/src/main/cpp/get_self_path_linux.cc 2024-08-01 18:39:01.000000000 +0800 -@@ -14,8 +14,10 @@ - - #include <unistd.h> - #include <limits.h> -+#include <sys/auxv.h> - - #include "src/main/cpp/blaze_util_platform.h" -+#include "src/main/cpp/startup_options.h" - #include "src/main/cpp/util/errors.h" - #include "src/main/cpp/util/exit_code.h" - #include "src/main/cpp/util/logging.h" -@@ -25,7 +27,13 @@ - using blaze_util::GetLastErrorString; - using std::string;
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