Skip to content

Commit cd5b4a3

Browse files
committed
Bootstrap 1.26.0
1 parent dde37e9 commit cd5b4a3

File tree

4 files changed

+46
-0
lines changed

4 files changed

+46
-0
lines changed

1.26.0/build.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
3+
# Must be set to the directory where a recent rust snapshot can be found.
4+
# BOOTSTRAP_DIR=
5+
6+
RUSTC_BOOTSTRAP_VERSION=1.25.0
7+
CARGO_BOOTSTRAP_VERSION=0.26.0
8+
RUST_VERSION=1.26.0
9+
10+
BASE=`pwd`
11+
DEST=$1
12+
LLVM_ROOT=""
13+
14+
. ../checksums.sh
15+
. ../common.sh
16+
17+
RUN info clean extract prepatch config build dist inst 2>&1
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- src/llvm/cmake/modules/HandleLLVMOptions.cmake.orig 2018-03-10 02:51:13 UTC
2+
+++ src/llvm/cmake/modules/HandleLLVMOptions.cmake
3+
@@ -146,6 +146,7 @@ endif()
4+
# build might work on ELF but fail on MachO/COFF.
5+
if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR WIN32 OR CYGWIN OR
6+
${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
7+
+ ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly" OR
8+
${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") AND
9+
NOT LLVM_USE_SANITIZER)
10+
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,defs")
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- src/llvm/lib/Support/Unix/Path.inc.orig 2018-04-04 15:39:54 UTC
2+
+++ src/llvm/lib/Support/Unix/Path.inc
3+
@@ -68,13 +68,13 @@
4+
5+
#include <sys/types.h>
6+
#if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && \
7+
- !defined(__linux__)
8+
+ !defined(__DragonFly__) && !defined(__linux__)
9+
#include <sys/statvfs.h>
10+
#define STATVFS statvfs
11+
#define FSTATVFS fstatvfs
12+
#define STATVFS_F_FRSIZE(vfs) vfs.f_frsize
13+
#else
14+
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
15+
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
16+
#include <sys/mount.h>
17+
#include <sys/param.h>
18+
#elif defined(__linux__)

checksums.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ SHA256_rustc_1_22_1_src_tar_gz=8b7a42bdd6eb205a8c533eb41b5c42389a88158d060aed1e0
77
SHA256_rustc_1_23_0_src_tar_gz=7464953871dcfdfa8afcc536916a686dd156a83339d8ec4d5cb4eb2fe146cb91
88
SHA256_rustc_1_24_0_src_tar_gz=bb8276f6044e877e447f29f566e4bbf820fa51fea2f912d59b73233ffd95639f
99
SHA256_rustc_1_25_0_src_tar_gz=eef63a0aeea5147930a366aee78cbde248bb6e5c6868801bdf34849152965d2d
10+
SHA256_rustc_1_26_0_src_tar_gz=4fb09bc4e233b71dcbe08a37a3f38cabc32219745ec6a628b18a55a1232281dd

0 commit comments

Comments
 (0)