You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
495 B

  1. #!/bin/bash
  2. INCLUDE_INSTALL_DIR="$1"/include
  3. LIBRARY_INSTALL_DIR="$1"/lib
  4. mkdir -p $INCLUDE_INSTALL_DIR
  5. mkdir -p $LIBRARY_INSTALL_DIR
  6. cp -av include/embree3 $INCLUDE_INSTALL_DIR
  7. cp -av lib/lib* $LIBRARY_INSTALL_DIR
  8. rm $LIBRARY_INSTALL_DIR/libtbb.so
  9. rm $LIBRARY_INSTALL_DIR/libtbb.so.12
  10. cp $LIBRARY_INSTALL_DIR/libtbb.so.12.1 $LIBRARY_INSTALL_DIR/libtbb.so.12
  11. sudo cp $LIBRARY_INSTALL_DIR/libembree3.so.3 /usr/local/lib
  12. sudo cp $LIBRARY_INSTALL_DIR/libembree3.so /usr/local/lib
  13. exit 0;