| 39 | |
| 40 | variant clang36 conflicts clang37 description {Use clang 3.6 toolchain.} { |
| 41 | configure.compiler macports-clang-3.6 |
| 42 | configure.args-append \ |
| 43 | -DLLVM_DIR=${prefix}/libexec/llvm-3.6/share/llvm/cmake |
| 44 | } |
| 45 | |
| 46 | variant clang37 conflicts clang36 description {Use clang 3.7 toolchain.} { |
| 47 | configure.compiler macports-clang-3.7 |
| 48 | configure.env-append \ |
| 49 | -DLLVM_DIR=${prefix}/libexec/llvm-3.7/share/llvm/cmake |
| 50 | } |
| 51 | |
| 52 | if {![variant_isset clang36] && ![variant_isset clang37]} { |
| 53 | default_variants +clang36 |
| 54 | } |