libreactor.sh 564 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. fw_depends gcc-4.9
  3. fw_installed libreactor && return 0
  4. LIBREACTOR_HOME=$IROOT/libreactor_techempower
  5. git clone https://github.com/fredrikwidlund/libreactor_techempower
  6. cd $LIBREACTOR_HOME
  7. # 4/14/2017
  8. git checkout c96da1fa46d3de3618755d8b578b6b4db48ccd3b
  9. export CC=gcc-4.9
  10. export RANLIB=gcc-ranlib-4.9
  11. export AR=gcc-ar-4.9
  12. ./autogen.sh
  13. ./configure
  14. make
  15. echo "export LIBREACTOR_HOME=${LIBREACTOR_HOME}" >> $IROOT/libreactor.installed
  16. echo -e "export PATH=\$LIBREACTOR_HOME/:\$PATH" >> $IROOT/libreactor.installed
  17. source $IROOT/libreactor.installed