- docs/WritingAnLLVMBackend.rst: Makefiles are no longer used. The users should use CMakeLists.txt. In order to add the target, the TARGETS_TO_BUILD is replaced with LLVM_ALL_TARGETS.
Details
Details
Diff Detail
Diff Detail
Event Timeline
docs/WritingAnLLVMBackend.rst | ||
---|---|---|
163 | You actually don't want to modify LLVM_ALL_TARGETS. Instead you want to configure with "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=Dummy". That will build the dummy target without needing to add it to "All" and we generally don't encourage adding a target to "All" until after it is stable. |
Comment Actions
Prefer using LLVM_EXPERIMENTAL_TARGETS_TO_BUILD instead of adding it directly to LLVM_ALL_TARGETS.
You actually don't want to modify LLVM_ALL_TARGETS. Instead you want to configure with "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=Dummy". That will build the dummy target without needing to add it to "All" and we generally don't encourage adding a target to "All" until after it is stable.