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.

19 lines
430 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 -vr include/serial include/tbb $INCLUDE_INSTALL_DIR
  7. cp -vr ../tbb2019_20191006oss/lib/intel64/gcc4.8/lib* $LIBRARY_INSTALL_DIR
  8. sudo ln -s ${LIBRARY_INSTALL_DIR}/libtbb.so.2 /usr/local/lib/libtbb.so.2
  9. sudo ln -s ${LIBRARY_INSTALL_DIR}/libtbb.so.12 /usr/local/lib/libtbb.so.12
  10. exit 0;