mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
llvm 3.9: add patch to fix docs build
This commit is contained in:
parent
894065ede8
commit
fba8c442af
2 changed files with 33 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
||||||
|
From ce04fe5f8eb9f3a27504db75672083c8aaf80ddd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Aaron Ballman <aaron@aaronballman.com>
|
||||||
|
Date: Tue, 19 Jul 2016 17:46:55 +0000
|
||||||
|
Subject: [PATCH] This code block breaks the docs build
|
||||||
|
(http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/11920/steps/docs-llvm-html/logs/stdio),
|
||||||
|
but I cannot see anything immediately wrong with it and cannot reproduce the
|
||||||
|
diagnostic locally. Setting the code highlighting to none instead of nasm to
|
||||||
|
hopefully get the bot stumbling back towards green.
|
||||||
|
|
||||||
|
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275998 91177308-0d34-0410-b5e6-96231b3b80d8
|
||||||
|
---
|
||||||
|
docs/AMDGPUUsage.rst | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/docs/AMDGPUUsage.rst b/docs/AMDGPUUsage.rst
|
||||||
|
index 34a9b60..7d1ef11 100644
|
||||||
|
--- a/docs/AMDGPUUsage.rst
|
||||||
|
+++ b/docs/AMDGPUUsage.rst
|
||||||
|
@@ -171,7 +171,7 @@ keys, see the comments in lib/Target/AMDGPU/AmdKernelCodeT.h
|
||||||
|
|
||||||
|
Here is an example of a minimal amd_kernel_code_t specification:
|
||||||
|
|
||||||
|
-.. code-block:: nasm
|
||||||
|
+.. code-block:: none
|
||||||
|
|
||||||
|
.hsa_code_object_version 1,0
|
||||||
|
.hsa_code_object_isa
|
||||||
|
--
|
||||||
|
2.5.5
|
||||||
|
|
|
@ -19,6 +19,8 @@ Source100: llvm-config.h
|
||||||
# recognize s390 as SystemZ when configuring build
|
# recognize s390 as SystemZ when configuring build
|
||||||
Patch0: llvm-3.7.1-cmake-s390.patch
|
Patch0: llvm-3.7.1-cmake-s390.patch
|
||||||
|
|
||||||
|
Patch1: 0001-This-code-block-breaks-the-docs-build-http-lab.llvm..patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
|
@ -70,6 +72,7 @@ Static libraries for the LLVM compiler infrastructure.
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}.src
|
%setup -q -n %{name}-%{version}.src
|
||||||
%patch0 -p1 -b .s390
|
%patch0 -p1 -b .s390
|
||||||
|
%patch1 -p1 -b .sphinx
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p _build
|
mkdir -p _build
|
||||||
|
|
Loading…
Reference in a new issue