Skip to content

Commit 5ba9228

Browse files
SC llvm teamSC llvm team
authored andcommitted
Merged main:21f8bc25adba into amd-gfx:1328346630f7
Local branch amd-gfx 1328346 Merged main:1f64dc8f59b9 into amd-gfx:83c7a35b9c6b Remote branch main 21f8bc2 [libc++] Make sure we forward stdin through executors (llvm#67064)
2 parents 1328346 + 21f8bc2 commit 5ba9228

File tree

156 files changed

+2501
-2256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+2501
-2256
lines changed

.github/workflows/release-tasks.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,19 @@ jobs:
2424
release_version=$(echo "${{ github.ref_name }}" | sed 's/llvmorg-//g')
2525
echo "release-version=$release_version" >> "$GITHUB_OUTPUT"
2626
27+
- name: Checkout LLVM
28+
uses: actions/checkout@v4
29+
2730
- name: Install Dependencies
2831
run: |
2932
sudo apt-get update
3033
sudo apt-get install -y \
3134
doxygen \
3235
graphviz \
3336
python3-github \
34-
python3-recommonmark \
35-
python3-sphinx \
3637
ninja-build \
3738
texlive-font-utils
38-
pip3 install --user sphinx-markdown-tables
39-
40-
- name: Checkout LLVM
41-
uses: actions/checkout@v4
39+
pip3 install --user -r ./llvm/docs/requirements.txt
4240
4341
- name: Create Release
4442
run: |

clang/docs/conf.py

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,11 @@
3232
# Add any paths that contain templates here, relative to this directory.
3333
templates_path = ["_templates"]
3434

35-
# The suffix of source filenames.
36-
source_suffix = {
37-
".rst": "restructuredtext",
38-
}
3935

40-
try:
41-
import recommonmark
42-
except ImportError:
43-
# manpages do not use any .md sources
44-
if not tags.has("builder-man"):
45-
raise
46-
else:
47-
import sphinx
48-
49-
if sphinx.version_info >= (3, 0):
50-
# This requires 0.5 or later.
51-
extensions.append("recommonmark")
52-
else:
53-
source_parsers = {".md": "recommonmark.parser.CommonMarkParser"}
54-
source_suffix[".md"] = "markdown"
36+
import sphinx
37+
38+
if sphinx.version_info >= (3, 0):
39+
extensions.append("myst_parser")
5540

5641
# The encoding of source files.
5742
# source_encoding = 'utf-8-sig'

clang/lib/Basic/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ add_custom_command(OUTPUT "${version_inc}"
3939
"-DHEADER_FILE=${version_inc}"
4040
"-DLLVM_VC_REPOSITORY=${llvm_vc_repository}"
4141
"-DLLVM_VC_REVISION=${llvm_vc_revision}"
42+
"-DLLVM_FORCE_VC_REVISION=${LLVM_FORCE_VC_REVISION}"
43+
"-DLLVM_FORCE_VC_REPOSITORY=${LLVM_FORCE_VC_REPOSITORY}"
4244
-P "${generate_vcs_version_script}")
4345

4446
# Mark the generated header as being generated.

clang/lib/Basic/Targets.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,6 @@ std::unique_ptr<TargetInfo> AllocateTarget(const llvm::Triple &Triple,
430430

431431
case llvm::Triple::riscv32:
432432
switch (os) {
433-
case llvm::Triple::FreeBSD:
434-
return std::make_unique<FreeBSDTargetInfo<RISCV32TargetInfo>>(Triple,
435-
Opts);
436433
case llvm::Triple::NetBSD:
437434
return std::make_unique<NetBSDTargetInfo<RISCV32TargetInfo>>(Triple,
438435
Opts);

clang/lib/Driver/ToolChains/FreeBSD.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ void freebsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
210210
else
211211
CmdArgs.push_back("elf64ltsmip_fbsd");
212212
break;
213-
case llvm::Triple::riscv32:
214-
CmdArgs.push_back("-m");
215-
CmdArgs.push_back("elf32lriscv");
216-
CmdArgs.push_back("-X");
217-
break;
218213
case llvm::Triple::riscv64:
219214
CmdArgs.push_back("-m");
220215
CmdArgs.push_back("elf64lriscv");

clang/test/Driver/freebsd.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@
7373
//
7474
// Check that RISC-V passes the correct linker emulation.
7575
//
76-
// RUN: %clang --target=riscv32-freebsd -### %s %s 2>&1 \
77-
// RUN: | FileCheck --check-prefix=CHECK-RV32I-LD %s
78-
// CHECK-RV32I-LD: ld{{.*}}" {{.*}} "-m" "elf32lriscv"
7976
// RUN: %clang --target=riscv64-freebsd -### %s %s 2>&1 \
8077
// RUN: | FileCheck --check-prefix=CHECK-RV64I-LD %s
8178
// CHECK-RV64I-LD: ld{{.*}}" {{.*}} "-m" "elf64lriscv"

clang/test/Preprocessor/predefined-macros-no-warnings.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple amdgcn
104104
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple r600
105105
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple riscv32
106-
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple riscv32-freebsd
107106
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple riscv32-linux
108107
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple riscv64
109108
// RUN: %clang_cc1 %s -Eonly -Wsystem-headers -Werror -triple riscv64-freebsd

flang/docs/Aliasing.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88

99
# Aliasing in Fortran
1010

11-
```eval_rst
12-
.. contents::
13-
:local:
11+
```{contents}
12+
---
13+
local:
14+
---
1415
```
1516

1617
## Introduction

flang/docs/ArrayComposition.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88

99
# Array Composition
1010

11-
```eval_rst
12-
.. contents::
13-
:local:
11+
```{contents}
12+
---
13+
local:
14+
---
1415
```
1516

1617
This note attempts to describe the motivation for and design of an

flang/docs/BijectiveInternalNameUniquing.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88

99
# Bijective Internal Name Uniquing
1010

11-
```eval_rst
12-
.. contents::
13-
:local:
11+
```{contents}
12+
---
13+
local:
14+
---
1415
```
1516

1617
FIR has a flat namespace. No two objects may have the same name at the module

0 commit comments

Comments
 (0)