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
687 B
23 lines
687 B
#!/bin/bash
|
|
|
|
|
|
|
|
INCLUDE_INSTALL_DIR="$1"/include
|
|
LIBRARY_INSTALL_DIR="$1"/lib
|
|
|
|
mkdir -p $INCLUDE_INSTALL_DIR
|
|
mkdir -p $LIBRARY_INSTALL_DIR
|
|
|
|
cp -av include/OpenImageDenoise $INCLUDE_INSTALL_DIR
|
|
|
|
cp -av lib/lib* $LIBRARY_INSTALL_DIR
|
|
|
|
rm $LIBRARY_INSTALL_DIR/libtbb.so
|
|
rm $LIBRARY_INSTALL_DIR/libtbb.so.12
|
|
cp $LIBRARY_INSTALL_DIR/libtbb.so.12.1 $LIBRARY_INSTALL_DIR/libtbb.so.12
|
|
|
|
sudo ln -s ${LIBRARY_INSTALL_DIR}/libOpenImageDenoise.so /usr/local/lib/libOpenImageDenoise.so
|
|
sudo ln -s ${LIBRARY_INSTALL_DIR}/libOpenImageDenoise.so.1 /usr/local/lib/libOpenImageDenoise.so.1
|
|
sudo ln -s ${LIBRARY_INSTALL_DIR}/libOpenImageDenoise.so.1.4.0 /usr/local/lib/libOpenImageDenoise.so.1.4.0
|
|
|
|
exit 0;
|