Skip to content

Instantly share code, notes, and snippets.

@theoria24
Created December 29, 2020 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theoria24/3121c6212e05da64bcdfd28843bcf0e5 to your computer and use it in GitHub Desktop.
Save theoria24/3121c6212e05da64bcdfd28843bcf0e5 to your computer and use it in GitHub Desktop.
https://github.com/nagadomi/animeface-2009 をMacに入れたときのやつ
#!/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