mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
311c04c3fc
commit
7454e43a88
1 changed files with 1 additions and 13 deletions
|
@ -17,6 +17,7 @@ dependencies:
|
|||
gnu.org/coreutils: 9
|
||||
google.github.io/snappy: '*'
|
||||
google.com/double-conversion: ^3
|
||||
google.com/googletest: ^1
|
||||
fmt.dev: ^9
|
||||
zlib.net: ^1
|
||||
darwin:
|
||||
|
@ -27,19 +28,6 @@ build:
|
|||
cmake.org: ^3.0.2
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
script:
|
||||
# folly uses the path to build as part of a regex, but out paths have "+"s in them.
|
||||
# don't mess up the intentional newline
|
||||
- run: |
|
||||
sed -i.bak -E -f $PROP CMakeLists.txt
|
||||
rm CMakeLists.txt.bak
|
||||
prop: |
|
||||
/^REMOVE_MATCHES_FROM_LISTS\(files hfiles/ {
|
||||
i\\
|
||||
string(REPLACE "+" "\\\\\\\\+" ESCAPED_FOLLY_DIR "\${FOLLY_DIR}")
|
||||
}
|
||||
|
||||
s/\^\$\{FOLLY_DIR\}/^\$\{ESCAPED_FOLLY_DIR\}/g
|
||||
|
||||
- cmake $ARGS -DBUILD_SHARED_LIBS=ON -S . -B shared
|
||||
- cmake --build shared
|
||||
- cmake --install shared
|
||||
|
|
Loading…
Reference in a new issue