Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65878591
build_xhpast.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jun 6, 20:04
Size
389 B
Mime Type
text/x-shellscript
Expires
Sat, Jun 8, 20:04 (2 d)
Engine
blob
Format
Raw Data
Handle
18140493
Attached To
rPHU libphutil
build_xhpast.sh
View Options
#!/bin/sh
set
-e
ROOT
=
`
dirname
$0
`
"/../support/xhpast"
echo
echo
"Building XHPAST..."
echo
cd
$ROOT
make clean all install
echo
echo
"Testing xhpast works"
echo
if
! ./xhpast --version
then
echo
echo
>&2
"xhpast is broken :("
echo
>&2
"Maybe try \`STATIC=1 ./build_xhpast.sh\` if the error"
echo
>&2
"is linker-related?"
echo
exit
2
fi
echo
echo
"Build successful!"
echo
Event Timeline
Log In to Comment