Geoff/c for go flags (#59)

* regenerate using libvirt 4.0.0 release.
* use a particular version of c-for-go because the current HEAD is broken.
This commit is contained in:
Geoff Hickey 2018-02-14 13:49:14 -05:00 committed by GitHub
parent 59d541f193
commit 338b59a53a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 294 additions and 261 deletions

File diff suppressed because it is too large Load Diff

View File

@ -15,6 +15,12 @@ if ! which c-for-go > /dev/null; then
echo "failed to install c-for-go. Please install it manually from https://github.com/xlab/c-for-go" echo "failed to install c-for-go. Please install it manually from https://github.com/xlab/c-for-go"
exit 1 exit 1
fi fi
# HEAD is broken for us because of a failed attempt to redefine the
# __GNUC_PREREQ macro. Checkout an older version to avoid this.
pushd $GOPATH/src/github.com/xlab/c-for-go
git checkout a831fa1954c29f84f7bccab225c3c620d0e7f132
go install ./...
popd
fi fi
# Make sure goyacc is installed (needed for the lvgen/ generator) # Make sure goyacc is installed (needed for the lvgen/ generator)