Skip to content

Commit 5fbf32b

Browse files
committed
Rust 1.65.0
1 parent 0b073e6 commit 5fbf32b

File tree

2 files changed

+13
-28
lines changed

2 files changed

+13
-28
lines changed

components/rust/rustc/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ BUILD_BITS = 64
2727
COMPILER = gcc
2828
include ../../../make-rules/shared-macros.mk
2929

30-
GCC_ROOT = /usr/gcc/11
30+
GCC_ROOT = /usr/gcc/12
3131

3232
COMPONENT_NAME = rustc
33-
COMPONENT_VERSION = 1.64.0
33+
COMPONENT_VERSION = 1.65.0
3434
COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)-src
3535
COMPONENT_PROJECT_URL = http://www.rust-lang.org/
3636
COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.xz
3737
COMPONENT_ARCHIVE_HASH = \
38-
sha256:e8170d318fac9d2fc17d5c3e648e7068f56e8db8d233d864aeffbef7c6542eac
38+
sha256:2d6aa2ea3fedd55acbbd65f78349385f9daa9c14e25db7a8df5d015588eee1cf
3939
COMPONENT_ARCHIVE_URL = https://static.rust-lang.org/dist/$(COMPONENT_ARCHIVE)
4040
COMPONENT_SIG_URL = $(COMPONENT_ARCHIVE_URL).asc
4141

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,13 @@
11
https://github.com/rust-lang/rust/issues/96054
22

3-
--- rustc-1.60.0-src/src/llvm-project/llvm/CMakeLists.txt.orig 2022-04-14 16:59:58.027479056 +0000
4-
+++ rustc-1.60.0-src/src/llvm-project/llvm/CMakeLists.txt 2022-04-14 17:01:57.044255205 +0000
5-
@@ -1241,23 +1241,6 @@
6-
include(InstallRequiredSystemLibraries)
7-
endif()
3+
--- rustc-1.65.0-src/src/llvm-project/llvm/CMakeLists.txt
4+
+++ rustc-1.65.0-src/src/llvm-project/llvm/CMakeLists.txt
5+
@@ -651,7 +651,7 @@
86

9-
-if (LLVM_INCLUDE_BENCHMARKS)
10-
- # Override benchmark defaults so that when the library itself is updated these
11-
- # modifications are not lost.
12-
- set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "Disable benchmark testing" FORCE)
13-
- set(BENCHMARK_ENABLE_EXCEPTIONS OFF CACHE BOOL "Disable benchmark exceptions" FORCE)
14-
- set(BENCHMARK_ENABLE_INSTALL OFF CACHE BOOL "Don't install benchmark" FORCE)
15-
- set(BENCHMARK_DOWNLOAD_DEPENDENCIES OFF CACHE BOOL "Don't download dependencies" FORCE)
16-
- set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE BOOL "Disable Google Test in benchmark" FORCE)
17-
- set(BENCHMARK_ENABLE_WERROR ${LLVM_ENABLE_WERROR} CACHE BOOL
18-
- "Handle -Werror for Google Benchmark based on LLVM_ENABLE_WERROR" FORCE)
19-
- # Since LLVM requires C++11 it is safe to assume that std::regex is available.
20-
- set(HAVE_STD_REGEX ON CACHE BOOL "OK" FORCE)
21-
- add_subdirectory(${LLVM_THIRD_PARTY_DIR}/benchmark
22-
- ${CMAKE_CURRENT_BINARY_DIR}/third-party/benchmark)
23-
- add_subdirectory(benchmarks)
24-
-endif()
25-
-
26-
if (LLVM_INCLUDE_UTILS AND LLVM_INCLUDE_TOOLS)
27-
add_subdirectory(utils/llvm-locstats)
28-
endif()
7+
option(LLVM_BUILD_BENCHMARKS "Add LLVM benchmark targets to the list of default
8+
targets. If OFF, benchmarks still could be built using Benchmarks target." OFF)
9+
-option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." ON)
10+
+option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." OFF)
11+
12+
option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
13+
option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)

0 commit comments

Comments
 (0)