-
-
Save theoria24/3121c6212e05da64bcdfd28843bcf0e5 to your computer and use it in GitHub Desktop.
https://github.com/nagadomi/animeface-2009 をMacに入れたときのやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cdir=`pwd` | |
install_dir=${cdir}/install | |
mkdir -p $install_dir | |
# nvxs | |
cd nvxs | |
./configure --prefix $install_dir | |
make all -j$(getconf _NPROCESSORS_ONLN) | |
make install | |
cd ${cdir} | |
# ruby ext | |
cd animeface-ruby | |
ruby extconf_local.rb | |
make -j$(getconf _NPROCESSORS_ONLN) | |
echo -n "\n\nCheck:" | |
echo " % cd animeface-ruby" | |
echo " % ruby sample.rb <input image>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment