[compiler-rt] [compiler-rt][www] replace deprecated LLVM_CONFIG_PATH with LLVM_CMAKE_DIR (PR #71500)

Cullen Rhodes via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 00:04:54 PST 2023


https://github.com/c-rhodes updated https://github.com/llvm/llvm-project/pull/71500

>From ecb7d6eb1985769f1835961589b431e9e1aee651 Mon Sep 17 00:00:00 2001
From: Cullen Rhodes <cullen.rhodes at arm.com>
Date: Tue, 7 Nov 2023 08:34:00 +0000
Subject: [PATCH 1/2] [compiler-rt][www] replace deprecated LLVM_CONFIG_PATH
 with LLVM_CMAKE_DIR

This updates the standalone build docs for compiler-rt to replace
deprecated LLVM_CONFIG_PATH with LLVM_CMAKE_DIR. A warning (added in
D137024) is emitted for the current instructions.
---
 compiler-rt/www/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/www/index.html b/compiler-rt/www/index.html
index eaeb490c550c681..43d8492a2fc7017 100644
--- a/compiler-rt/www/index.html
+++ b/compiler-rt/www/index.html
@@ -123,7 +123,7 @@ <h2>Get it and get involved!</h2>
   <li>cd llvm-project</li>
   <li>mkdir build-compiler-rt</li>
   <li>cd build-compiler-rt</li>
-  <li>cmake ../compiler-rt -DLLVM_CONFIG_PATH=/path/to/llvm-config</li>
+  <li>cmake ../compiler-rt -DLLVM_CMAKE_DIR=/path/to/llvm-project/cmake</li>
   <li>make</li>
   </ul>
 

>From febee254a54760dd785fcf710bea76a0d279f5fb Mon Sep 17 00:00:00 2001
From: Cullen Rhodes <cullen.rhodes at arm.com>
Date: Thu, 9 Nov 2023 08:04:48 +0000
Subject: [PATCH 2/2] Update compiler-rt/www/index.html

Co-authored-by: Chris B <cbieneman at microsoft.com>
---
 compiler-rt/www/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/www/index.html b/compiler-rt/www/index.html
index 43d8492a2fc7017..ddad80c7ebff1ae 100644
--- a/compiler-rt/www/index.html
+++ b/compiler-rt/www/index.html
@@ -123,7 +123,7 @@ <h2>Get it and get involved!</h2>
   <li>cd llvm-project</li>
   <li>mkdir build-compiler-rt</li>
   <li>cd build-compiler-rt</li>
-  <li>cmake ../compiler-rt -DLLVM_CMAKE_DIR=/path/to/llvm-project/cmake</li>
+  <li>cmake ../compiler-rt -DLLVM_CMAKE_DIR=/path/to/llvm-project/cmake/modules</li>
   <li>make</li>
   </ul>
 



More information about the llvm-commits mailing list