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

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