[PATCH] D108198: [flang][nfc] Update README.md

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 03:36:24 PDT 2021


awarzynski created this revision.
Herald added a reviewer: sscalpone.
awarzynski requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Remove the section about disabling the new Flang driver - after merging
https://reviews.llvm.org/D105811 that's no longer available.

Also refined the instruction for standalone builds.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108198

Files:
  flang/README.md


Index: flang/README.md
===================================================================
--- flang/README.md
+++ flang/README.md
@@ -141,18 +141,10 @@
 ### Build Flang out of tree
 ```
 cd ~/flang/build
-cmake -DLLVM_DIR=$LLVM -DMLIR_DIR=$MLIR -DCLANG_DIR=$CLANG ~/flang/src
+cmake -DLLVM_DIR=$LLVM -DMLIR_DIR=$MLIR -DCLANG_DIR=$CLANG <FLANG_ROOT_SRC_DIR>
 make
 ```
 
-### Disable The New Flang Driver
-The new Flang compiler driver, `flang-new`, is implemented in terms of
-`clangDriver` and hence it introduces a dependency on Clang. This dependency is
-otherwise not required. If you do not require the new driver, you can disable
-it by adding `-DFLANG_BUILD_NEW_DRIVER=OFF` to your CMake invocation. With the
-new driver disabled, you no longer need to add `clang` to
-`LLVM_ENABLE_PROJECTS` (or to specify `CLANG_DIR` when building out-of-tree).
-
 # How to Run Tests
 
 Flang supports 2 different categories of tests


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108198.366853.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/2f6c33f7/attachment.bin>


More information about the llvm-commits mailing list