]> granicus.if.org Git - libevent/commitdiff
abi-check: abi-monitor 1.10 does not support -make -j8 (1.12 supports though)
authorAzat Khuzhin <azat@libevent.org>
Tue, 5 May 2020 23:40:49 +0000 (02:40 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 5 May 2020 23:45:26 +0000 (02:45 +0300)
An error for 1.10 on ci:
  https://github.com/azat/libevent/runs/647860649?check_suite_focus=true#step:4:219

extra/abi-check/abi_check.sh

index 7089a303ef6b6df2dd7483daa2312528aff14d3a..e860657e9b1f9076ef938a8d3d137f44e87f2f90 100755 (executable)
@@ -43,8 +43,10 @@ mkdir -p installed/libevent/current
 
 # run LVC tools
 abi-monitor -get -limit "$LIMIT" libevent.json
-abi-monitor -make -j8 -v current -build libevent.json
-abi-monitor -make -j8 -build libevent.json
+# XXX: abi-monitor 1.12 supports "-make -j8", but 1.10 does not
+# (we can detect which version we have, and add this options)
+abi-monitor -v current -build libevent.json
+abi-monitor -build libevent.json
 abi-tracker -build libevent.json
 
 # remove useless files