-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
67 lines (49 loc) · 2.02 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
PortGroup legacysupport 1.1
legacysupport.newest_darwin_requires_legacy 18
legacysupport.use_mp_libcxx yes
# src/third_party/blake3/CMakeLists.txt checks CMAKE_SIZEOF_VOID_P
PortGroup muniversal 1.0
github.setup ccache ccache 4.10.1 v
revision 0
checksums rmd160 1a6b7c34a0ca59faf5ad0c15db0146dbfec1e555 \
sha256 3a43442ce3916ea48bb6ccf6f850891cbff01d1feddff7cd4bbd49c5cf1188f6 \
size 485228
categories devel
platforms darwin freebsd
license GPL-3+
maintainers {ryandesign @ryandesign} openmaintainer
description object-file caching compiler wrapper
long_description \
ccache is a compiler cache. It acts as a caching pre-processor to C/C++ \
compilers, using the -E compiler switch and a hash to detect when a \
compilation can be satisfied from cache. This often results in a 5 to 10 \
times speedup in common compilations.
homepage https://ccache.dev
github.tarball_from releases
use_xz yes
platform darwin 8 {
patchfiles-append patch-ccache-no-posix-tiger.diff
}
compiler.c_standard 1999
compiler.cxx_standard \
2017
depends_build-append \
bin:perl:perl5 \
path:bin/pkg-config:pkgconfig
depends_lib-append port:hiredis \
port:zstd
# Do not use ccache to build this port unless MacPorts tells it to.
configure.args-append -DUSE_CCACHE=NO
configure.args-append -DENABLE_DOCUMENTATION=OFF
variant doc description {Enable documentation} {
configure.args-replace -DENABLE_DOCUMENTATION=OFF -DENABLE_DOCUMENTATION=ON
depends_build-append \
port:asciidoctor
license_noconflict asciidoctor
}
default_variants +doc
test.run yes