llvm-capstone/llvm/examples
John Ericson feeff8a37c [llvm] Use GNUInstallDirs to support custom installation dirs
This is the patch for LLVM proper in my series for adding GNUInstallDirs support in all project.

Additionally:

Create a new `CACHE STRING` variable, `LLVM_EXAMPLES_INSTALL_DIR`, to control where the examples are installed on analogy with the other variables.

---

This patch supersedes D28234, which tried to do the same thing but hand-rolled without GNUInstallDirs.

This patch nearly reverts commit 3 0fc88bf1dc15a72e2d9809d28019d386b7a7cc0, which was a revert of a prior attempt."

(I had to add a space here or else Phabricator detects a reference cycle and won't let me do the form submit.)

Reviewed By: compnerd

Differential Revision: https://reviews.llvm.org/D100810
2022-01-08 00:47:31 +00:00
..
BrainF Opaque pointer GEP fixes for BrainF example 2021-07-18 18:25:54 -07:00
Bye [llvm] Use GNUInstallDirs to support custom installation dirs 2022-01-08 00:47:31 +00:00
ExceptionDemo [examples] fix ExceptionDemo 2020-07-11 12:38:27 -07:00
Fibonacci
HowToUseJIT [examples] Fix "Target does not support MC emission!" in HowToUseJIT example. 2021-01-24 22:11:54 +11:00
HowToUseLLJIT [NFC] Fix title comment typo and provide description for LLJIT example. 2021-01-25 19:46:02 +05:30
IRTransforms Suppress some bitwise-or-of-bool warnings with explicit int cast 2021-10-18 14:10:30 -07:00
Kaleidoscope [llvm] Use true/false instead of 1/0 (NFC) 2022-01-07 00:39:14 -08:00
ModuleMaker
OrcV2Examples Re-apply "[JITLink] Update JITLink to use ExecutorAddr rather... " with fixes. 2022-01-06 17:22:21 +11:00
ParallelJIT [examples] Fix Target does not support MC emission in ParallelJIT 2021-02-04 22:44:46 +05:30
SpeculativeJIT [ORC] Require ExecutorProcessControl when constructing an ExecutionSession. 2021-07-27 16:53:49 +10:00
CMakeLists.txt [ORC][examples] Remove ThinLtoJIT example after LLJITWithThinLTOSummaries landed in OrcV2Examples 2020-10-01 10:22:09 +02:00