diff --git a/flang/README.md b/flang/README.md --- a/flang/README.md +++ b/flang/README.md @@ -65,10 +65,8 @@ Once the clone is complete, execute the following commands: ```bash cd my-project -INSTALLDIR=`pwd`/install rm -rf build -rm -rf install mkdir -p build cd build @@ -93,12 +91,6 @@ ninja check-flang ``` -If you're happy with the results, the next step is to create the install area. -While in the `build` directory, run the command: -```bash -ninja install -``` - Note that these instructions specify flang as one of the projects to build in the in tree build. This is not strictly necessary for subsequent standalone builds, but doing so lets you run the flang tests to verify that the source @@ -129,18 +121,12 @@ -DLLVM_BUILD_MAIN_SRC_DIR=$base/build/lib/cmake/llvm \ -DLLVM_LIT_ARGS=-v \ -DLLVM_DIR=$base/build/lib/cmake/llvm \ - -DCLANG_DIR=$base/install/lib/cmake/clang \ - -DMLIR_DIR=$base/install/lib/cmake/mlir \ + -DCLANG_DIR=$base/build/lib/cmake/clang \ + -DMLIR_DIR=$base/build/lib/cmake/mlir \ .. ninja ``` -Note that for Clang and MLIR you use the installation directory ($base/install) -and for LLVM you use the build directory (`$base/build`). This is not a typo -in the script. Rather, it is because running the tests requires the GTest -infrastructure which is only available in the LLVM build area. The build also -requires the `AddClang.cmake` script from Clang, which is only available in the -install area. To run the flang tests on this build, execute the command in the "flang/build" directory: