Audio plugin host https://kx.studio/carla
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.

build64.sh 1.5KB

6 years ago
6 years ago
6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #!/bin/bash
  2. # ---------------------------------------------------------------------------------------------------------------------
  3. # stop on error
  4. set -e
  5. # ---------------------------------------------------------------------------------------------------------------------
  6. # cd to correct path
  7. if [ ! -f Makefile ]; then
  8. cd $(dirname $0)/../..
  9. fi
  10. # ---------------------------------------------------------------------------------------------------------------------
  11. # set variables
  12. source data/linux/common.env
  13. MAKE_ARGS="${MAKE_ARGS} HAVE_FFMPEG=false HAVE_PULSEAUDIO=false EXTERNAL_PLUGINS=false"
  14. export LINUX="true"
  15. export CC=gcc
  16. export CXX=g++
  17. unset CPPFLAGS
  18. # ---------------------------------------------------------------------------------------------------------------------
  19. # Complete 64bit build
  20. export CFLAGS="-I${TARGETDIR}/carla64/include -m64"
  21. export CXXFLAGS=${CFLAGS}
  22. export LDFLAGS="-L${TARGETDIR}/carla64/lib -m64"
  23. export PKG_CONFIG_PATH=${TARGETDIR}/carla64/lib/pkgconfig
  24. make ${MAKE_ARGS}
  25. # ---------------------------------------------------------------------------------------------------------------------
  26. # Build 32bit bridges
  27. export CFLAGS="-I${TARGETDIR}/carla32/include -m32"
  28. export CXXFLAGS=${CFLAGS}
  29. export LDFLAGS="-L${TARGETDIR}/carla32/lib -m32"
  30. export PKG_CONFIG_PATH=${TARGETDIR}/carla32/lib/pkgconfig
  31. make posix32 ${MAKE_ARGS}
  32. # ---------------------------------------------------------------------------------------------------------------------