Skip to content

Commit 0578c83

Browse files
committed
pulled in a few more pieces from the homebrew formula
1 parent db66bae commit 0578c83

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

projects/envoyproxy.io/package.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ build:
1313
gnu.org/libtool: '*'
1414
ninja-build.org: '*'
1515
linux:
16-
gnu.org/gcc: '*' # doesn't like clang; missing `version` header
17-
python.org: '*'
16+
llvm.org: '*'
17+
python.org: ~3.12
1818
git-scm.org: '*'
1919
script:
2020
# Initialize Git repo as Bazel requires git for workspace status
@@ -23,19 +23,24 @@ build:
2323
- git config --global user.name "pkgx build"
2424
- git add .
2525
- git commit -m "Initialize repository"
26-
26+
2727
- bazel build $BAZEL_OPTS //source/exe:envoy-static.stripped
2828
- install -m 755 -D bazel-bin/source/exe/envoy-static.stripped {{prefix}}/bin/envoy
2929
env:
3030
linux:
31-
BAZEL_LINKOPTS: "-lm"
32-
BAZEL_LINKLIBS: "-lstdc++ -lm"
31+
BAZEL_LINKOPTS: '-lm'
32+
BAZEL_LINKLIBS: '-lstdc++ -lm'
33+
BAZEL_OPTS:
34+
- --config=clang
35+
- --copt=-Wno-thread-safety-reference-return
36+
- --copt=-Wno-unused-but-set-variable
37+
- --copt=-Wno-missing-template-arg-list-after-template-kw
3338
BAZEL_OPTS:
3439
- --compilation_mode=opt
3540
- --curses=no
3641
- --verbose_failures
3742
- --define=wasm=disabled
38-
43+
3944
provides:
4045
- bin/envoy
4146

0 commit comments

Comments
 (0)