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.
 
 

12 lines
474 B

#!/bin/bash
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# You may run in trouble on localized Linux installations
# because of ',' parsed as decimal separator instead of '.' char
export LC_ALL=C
# Embree and OpenImageDenoise dynamic libraries are assumed to be located in the 'lib'
# subdirectory.
export LD_PRELOAD="$ROOT/lib/libembree3.so.3:$ROOT/lib/libOpenImageDenoise.so.0:$ROOT/lib/libtbb.so.2:$ROOT/lib/libtbbmalloc.so.2"
cd "$ROOT"
./luxmark.bin "$@"