aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/llvm.mk
Commit message (Collapse)AuthorAgeFilesLines
* framework: expose devel/llvm17 in USES=llvm after 6e04d1ad5871Jan Beich2023-09-211-1/+1
| | | | | | | | | | | | $ sed -i '' 's/min=16/min=17/' x11-wm/hyprland/Makefile $ make clean all -C x11-wm/hyprland [...] CMake Error at /usr/local/share/cmake/Modules/CMakeDetermineCCompiler.cmake:49 (message): Could not find compiler set in environment variable CC: /usr/local/llvm/bin/clang. Call Stack (most recent call first): CMakeLists.txt
* llvm.mk: add export/noexport to handle CC/CXX/CPP exportsTobias C. Berner2023-09-131-0/+26
| | | | | Reviewed by: bofh Differential Revision: https://reviews.freebsd.org/D37747
* Mk/Uses/llvm.mk: 7-9 are no longer valid optionsDaniel Engberg2023-02-121-1/+1
| | | | | | | | As of commit 21778d8958f518e2179b1053d75cfb6c71405558 these are no longer valid options PR: 269005 Reviewed by: portmgr (tcberner)
* framework: expose devel/llvm16 in USES=llvm after b6755d590ed2Jan Beich2023-02-031-1/+1
| | | | | | | | | | | | $ sed -i '' 's/min=14/min=16/' emulators/yuzu/Makefile $ make clean all -C emulators/yuzu [...] CMake Error at /usr/local/share/cmake/Modules/CMakeDetermineCCompiler.cmake:49 (message): Could not find compiler set in environment variable CC: clang16. Call Stack (most recent call first): CMakeLists.txt
* framework: force expansion of constraint values in llvm.mkTobias C. Berner2022-12-181-1/+1
| | | | | | | | This should fix an issue where USES=llvm:min=13 would not set _LLVM_MK_CONSTRAINT_min to 13. Reported by: adamw
* framework: improve llvm.mk documentationTobias C. Berner2022-12-181-12/+28
| | | | | | | Previously it contained a copy-and-pasted unedited line for step 3). Switch to the better documentation copied from CHANGES. Reported by: arrowd
* framework: fix llvm.mk handling LLVM_DEFAULT 70 80 and 90Tobias C. Berner2022-12-181-0/+4
|
* framework: Add new USES=llvm to more easily depend on one an llvm portTobias C. Berner2022-12-171-0/+98
USES=llvm supports two kinds of arguments: * mode <none>: defaults to build build: add a BUILD_DEPENDS on chosen llvm-port run: add a RUN_DEPENDS on chosen llvm-port lib: add a LIB_DEPENDS on chosen llvm-port * version <none>: defaults to ${LLVM_DEFAULT} number: use explicitly the specified version min=number: use specified min if ${LLVM_DEFAULT} is lower max=number: use specified max if ${LLVM_DEFAULT} is higher An example usage might be: USES= llvm or USES= llvm:13,build or USES= llvm:min=14,lib The following variables are exposed to be used in the ports tree at the moment: * LLVM_VERSION version chosen from the arguments to llvm.mk * LLVM_PORT chosen llvm port * LLVM_CONFIG llvm-config of the chosen port * LLVM_LIBLLVM libLLVM.so of the chosen port * LLVM_PREFIX installation prefix of the chosen port Reviewed by: manu, bapt Differential Revision: https://reviews.freebsd.org/D37728