/build.sh Secret
Created
December 29, 2020 16:29
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