This patch removes the broken bash scipt (polly.sh) and fixes the broken setup
instructions in get_started.html. It also adds instructions for using Ninja and
links to the LLVM getting started page.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thanks for the patch!
Could also add an example invocation on how to use Polly after compiling, such as bin/clang -O3 -mllvm -polly hello.c?
For consistency with the rest of the documentation (from the doc/), it would be nicer to have it generated with Sphinx, but I don't require it.
polly/www/get_started.html | ||
---|---|---|
17 | Ninja and CMake are not alternatives of each other. Your can build LLVM with either CMake and ninja (cmake -GNinja), CMake and make (cmake -G"Unix Makefiles"), or most other generators supported by CMake, such as XCode, Visual Studio. | |
18 | I myself am using Visual Studio | |
28 | Did you try this? How much disk space does it save? | |
31 | This will create a debug build which may use a lot of memory to build and is slow. For starters, I'd recommend a Release+Assert build unless one starts using a debugger (or wants accurate line numbers in crash traces). I.e. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON. What do you think? | |
39–44 | If we want to be generator-agnostic, we can also use cmake --build . --target check-polly | |
40 | Why this line again? Once configured with CMake, there is no need to configure again. |
You uploaded a diff to your previous diff. Please upload a diff to LLVM's top-of-tree.
polly/www/get_started.html | ||
---|---|---|
13 | Why remove the menu? | |
67 | This is already out-of date. Latest release note is https://polly.llvm.org/docs/ReleaseNotes.html, but I don't think this is relevant for a getting_started. |
I added a proper diff (I think) and added back the mistakenly removed menu that I didn't intend to commit.
Thanks for your contribution! I removed the [NFC] tag before committing since there isn't really behavioral change for documentation.
Why remove the menu?