]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
ci: try to install NetSNMP from Homebrew
authorVincent Bernat <vincent@bernat.ch>
Thu, 27 Oct 2022 21:22:53 +0000 (23:22 +0200)
committerVincent Bernat <vincent@bernat.ch>
Thu, 27 Oct 2022 21:23:46 +0000 (23:23 +0200)
The one shipped with MacOS is broken.

```
checking whether C compiler supports flag "-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -Os -pipe -DBUILD=174 -DMACOSX_DEPLOYMENT_TARGET=12.6 --sysroot /Applications/Xcode_14.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -iframeworkwithsysroot /System/Library/Frameworks/-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/PrivateFrameworks/ -1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/ -iwithsysroot /usr/local/libressl/include -L/AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/libressl/lib -Udarwin21 -Ddarwin21=darwin21 -I/usr/local/include -DNETSNMP_NO_INLINE -lnetsnmpmibs -lnetsnmpagent -lnetsnmp"
```

tests/ci/install.sh

index bf93358d3fc8c6b081c6bc9887734ed9842c71bc..aa0917769b527b86783297b8db17532701cf7d5b 100755 (executable)
@@ -29,6 +29,7 @@ brew "automake"
 brew "autoconf"
 brew "libtool"
 brew "check"
+brew "net-snmp"
 EOS
         ;;
     Linux)