From: Fredrik Fornwall Date: Sun, 29 Apr 2018 23:25:14 +0000 (+0200) Subject: libllvm: Fix building under ubuntu 18.04 X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/a25adaa71d9a9fe56fcdf88e8b3d3e21452a3a87 libllvm: Fix building under ubuntu 18.04 --- diff --git a/packages/libllvm/docs-AMDGPUUsage.rst.patch b/packages/libllvm/docs-AMDGPUUsage.rst.patch new file mode 100644 index 00000000..b489027f --- /dev/null +++ b/packages/libllvm/docs-AMDGPUUsage.rst.patch @@ -0,0 +1,19 @@ +Remove unreferenced footnotes which causes a build failure on ubuntu 18.04 + +diff -u -r ../llvm-6.0.0.src/docs/AMDGPUUsage.rst ./docs/AMDGPUUsage.rst +--- ../llvm-6.0.0.src/docs/AMDGPUUsage.rst 2017-12-12 06:47:00.000000000 +0100 ++++ ./docs/AMDGPUUsage.rst 2018-04-30 00:58:07.492244676 +0200 +@@ -4142,8 +4142,6 @@ + .. [AMD-GCN-GFX7] `AMD Sea Islands Series ISA `_ + .. [AMD-GCN-GFX8] `AMD GCN3 Instruction Set Architecture `__ + .. [AMD-GCN-GFX9] `AMD "Vega" Instruction Set Architecture `__ +-.. [AMD-OpenCL_Programming-Guide] `AMD Accelerated Parallel Processing OpenCL Programming Guide `_ +-.. [AMD-APP-SDK] `AMD Accelerated Parallel Processing APP SDK Documentation `__ + .. [AMD-ROCm] `ROCm: Open Platform for Development, Discovery and Education Around GPU Computing `__ + .. [AMD-ROCm-github] `ROCm github `__ + .. [HSA] `Heterogeneous System Architecture (HSA) Foundation `__ +@@ -4152,4 +4150,3 @@ + .. [YAML] `YAML Ain't Markup Language (YAML™) Version 1.2 `__ + .. [OpenCL] `The OpenCL Specification Version 2.0 `__ + .. [HRF] `Heterogeneous-race-free Memory Models `__ +-.. [AMD-AMDGPU-Compute-Application-Binary-Interface] `AMDGPU Compute Application Binary Interface `__ diff --git a/packages/libllvm/docs-Proposals-VectorizationPlan.rst.patch b/packages/libllvm/docs-Proposals-VectorizationPlan.rst.patch new file mode 100644 index 00000000..3338f8e3 --- /dev/null +++ b/packages/libllvm/docs-Proposals-VectorizationPlan.rst.patch @@ -0,0 +1,14 @@ +Remove unreferenced footnotes which causes a build failure on ubuntu 18.04 + +diff -u -r ../llvm-6.0.0.src/docs/Proposals/VectorizationPlan.rst ./docs/Proposals/VectorizationPlan.rst +--- ../llvm-6.0.0.src/docs/Proposals/VectorizationPlan.rst 2017-11-20 13:01:47.000000000 +0100 ++++ ./docs/Proposals/VectorizationPlan.rst 2018-04-30 00:30:45.270760735 +0200 +@@ -212,7 +212,7 @@ + Polly [7]_. + + 3. Loop Vectorizer: the Vectorization Plan aims to upgrade the infrastructure of +- the Loop Vectorizer and extend it to handle outer loops [8,9]_. ++ the Loop Vectorizer and extend it to handle outer loops [8]_, [9]_. + + References + ----------