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.

48 lines
1.1KB

  1. export VSVR_BASE_DIR=`pwd`
  2. # y=64 bit build
  3. # n=32 bit build
  4. export BUILD_64=y
  5. # y=cross compile for ARM target (untested in VSVR build)
  6. export BUILD_ARM=n
  7. # CPU architecture
  8. #CPU_ARCH=haswell
  9. CPU_ARCH=athlon-fx
  10. if [ "${USER}" = "bsp" ]; then
  11. CPU_ARCH=haswell
  12. fi
  13. if [ "${USER}" = "cameron" ]; then
  14. CPU_ARCH=skylake-avx512
  15. fi
  16. # Extra compiler flags (C and C++)
  17. #EXTRA_FLAGS=-DUSE_LOG_PRINTF
  18. #EXTRA_FLAGS="-DUSE_BEGIN_REDRAW_FXN -I${VSVR_BASE_DIR}/dep/lglw"
  19. EXTRA_FLAGS=""
  20. # Extra C compiler flags
  21. export EXTRA_CFLAGS="-march=${CPU_ARCH} ${EXTRA_FLAGS}"
  22. # Extra C++ compiler flags
  23. export EXTRA_CPPFLAGS="-march=${CPU_ARCH} ${EXTRA_FLAGS}"
  24. # Extra optimization flags (C/C++)
  25. export EXTRA_OPTFLAGS=
  26. # Extra linker flags
  27. export EXTRA_LDFLAGS=-march=${CPU_ARCH}
  28. # this must point to the directory which contains the 'aeffect.h' and 'aeffectx.h' files
  29. export VST2_SDK_DIR=/mnt/dev/vstsdk2.4/pluginterfaces/vst2.x/
  30. # n = build the plugin w/o 3rd party modules (only useful for debugging purposes)
  31. # y = statically link 3rd party modules
  32. export RACK_STATIC_MODULES=y
  33. #export RACK_STATIC_MODULES=n