Skip to content

Commit

Permalink
ci: use ASYN_HOOK to set TIRPC=YES on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphlange committed Oct 2, 2023
1 parent 40efcc4 commit 1992ea9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci-local/adsupport.set
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ PVDATABASE_REPONAME=pvDatabaseCPP
PVDATABASE_REPOOWNER=epics-base

ASYN_REPOOWNER=epics-modules
ASYN_HOOK=.ci-local/asyn-config.sh

ADSUPPORT_REPOOWNER=areaDetector
ADSUPPORT_HOOK=.ci-local/adsupport-config.py
9 changes: 9 additions & 0 deletions .ci-local/asyn-config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
set -e -x

[ -d "asyn/asynDriver" ] || exit 1

[ -f "/usr/include/rpc/rpc.h" ] && exit 0

[ -f "/usr/include/tirpc/rpc/rpc.h" ] && \
echo "TIRPC=YES" >> "configure/CONFIG_SITE.Common.linux-x86_64"

0 comments on commit 1992ea9

Please sign in to comment.