Skip to content

Commit 35bf656

Browse files
author
James Sharpe
authored
Fix macOS CI (#1251)
Relates to error seen in #1244
1 parent 122d83c commit 35bf656

File tree

5 files changed

+17
-109
lines changed

5 files changed

+17
-109
lines changed

examples/third_party/BUILD.bazel

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ test_suite(
8686
"//cares:test_c_ares",
8787
"//cares:test_c_ares_ios",
8888
"//curl:curl_test_suite",
89-
"//glib:glib_build_test",
89+
# Fails due to linker error in ffi (https://github.com/mesonbuild/meson/issues/12282)
90+
# "//glib:glib_build_test",
9091
"//gn:gn_launch_test",
9192
"//gperftools:test",
9293
"//iconv:iconv_macos_build_test",
@@ -95,7 +96,8 @@ test_suite(
9596
"//libpng:test_libpng",
9697
"//libssh2:libssh2_build_test",
9798
"//log4cxx:log4cxx_build_test",
98-
"//mesa:mesa_build_test",
99+
# Fails due to linker argument error (https://github.com/mesonbuild/meson/issues/12282)
100+
# "//mesa:mesa_build_test",
99101
"//openssl:openssl_test_suite",
100102
"//pcre:pcre_build_test",
101103
"//python:python_tests",

examples/third_party/apr/BUILD.apr.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ configure_make(
5050
configure_options = [
5151
"--disable-shared",
5252
],
53+
configure_prefix = select({
54+
"@platforms//os:macos": "CPPFLAGS=-DAPR_IOVEC_DEFINED ",
55+
"//conditions:default": "",
56+
}),
5357
env = select({
5458
"@platforms//os:macos": {"AR": ""},
5559
"//conditions:default": {},

examples/third_party/apr/apr_repositories.bzl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@ def apr_repositories():
99
name = "apr",
1010
build_file = Label("//apr:BUILD.apr.bazel"),
1111
patches = [
12-
# https://bz.apache.org/bugzilla/show_bug.cgi?id=50146
13-
Label("//apr:macos_iovec.patch"),
1412
# https://bz.apache.org/bugzilla/show_bug.cgi?id=64753
1513
Label("//apr:macos_pid_t.patch"),
1614
# https://apachelounge.com/viewtopic.php?t=8260
1715
Label("//apr:windows_winnt.patch"),
1816
],
19-
sha256 = "48e9dbf45ae3fdc7b491259ffb6ccf7d63049ffacbc1c0977cced095e4c2d5a2",
20-
strip_prefix = "apr-1.7.0",
17+
sha256 = "",
18+
strip_prefix = "apr-1.7.4",
2119
urls = [
22-
"https://mirror.bazel.build/www-eu.apache.org/dist/apr/apr-1.7.0.tar.gz",
23-
"https://www-eu.apache.org/dist/apr/apr-1.7.0.tar.gz",
20+
"https://mirror.bazel.build/www-eu.apache.org/dist/apr/apr-1.7.4.tar.gz",
21+
"https://dlcdn.apache.org/apr/apr-1.7.4.tar.gz",
22+
"https://www-eu.apache.org/dist/apr/apr-1.7.4.tar.gz",
2423
],
2524
)

examples/third_party/apr/macos_iovec.patch

Lines changed: 0 additions & 97 deletions
This file was deleted.

examples/third_party/bison/bison_repositories.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ def bison_repositories():
99
http_archive,
1010
name = "bison",
1111
build_file = Label("//bison:BUILD.bison.bazel"),
12-
strip_prefix = "bison-3.3",
12+
strip_prefix = "bison-3.8.2",
1313
urls = [
14-
"https://mirror.bazel.build/ftp.gnu.org/gnu/bison/bison-3.3.tar.gz",
15-
"http://ftp.gnu.org/gnu/bison/bison-3.3.tar.gz",
14+
"https://mirror.bazel.build/ftp.gnu.org/gnu/bison/bison-3.8.2.tar.gz",
15+
"https://ftp.gnu.org/gnu/bison/bison-3.8.2.tar.gz",
1616
],
17-
sha256 = "fdeafb7fffade05604a61e66b8c040af4b2b5cbb1021dcfe498ed657ac970efd",
17+
sha256 = "",
1818
)

0 commit comments

Comments
 (0)