Browse Source

Update windows build scripts with clean steps

tags/v2.1-rc1
falkTX 5 years ago
parent
commit
1e595f92d8
3 changed files with 42 additions and 0 deletions
  1. +2
    -0
      .gitignore
  2. +6
    -0
      data/windows/build-deps.sh
  3. +34
    -0
      data/windows/build-pyqt.sh

+ 2
- 0
.gitignore View File

@@ -95,6 +95,8 @@ data/windows/Carla
data/windows/CarlaControl
data/windows/Carla-*-win32/
data/windows/Carla-*-win64/
data/windows/Carla.lv2/
data/windows/Carla_*
source/tests/ansi-pedantic-test_*
source/tests/CachedPlugins
source/tests/CarlaRingBuffer


+ 6
- 0
data/windows/build-deps.sh View File

@@ -28,6 +28,11 @@ rm -rf ${TARGETDIR}/carla-w32nosse ${TARGETDIR}/carla-w32 ${TARGETDIR}/carla-w64
cleanup_pkgs()
{

rm -rf Carla
rm -rf Carla.exe
rm -rf Carla.lv2
rm -rf Carla.vst
rm -rf Carla_*
rm -rf flac-*
rm -rf fluidsynth-*
rm -rf fftw-*
@@ -38,6 +43,7 @@ rm -rf libsndfile-*
rm -rf libvorbis-*
rm -rf mxml-*
rm -rf pkg-config-*
rm -rf pyliblo-*
rm -rf zlib-*

}


+ 34
- 0
data/windows/build-pyqt.sh View File

@@ -15,6 +15,38 @@ cd $(dirname $0)

source common.env

# ---------------------------------------------------------------------------------------------------------------------
# function to remove old stuff

cleanup_prefix()
{

rm -rf ${TARGETDIR}/msys2-i686 ${TARGETDIR}/msys2-x86_64
rm -rf python-pkgs-*

}

cleanup_pkgs()
{

rm -rf Carla
rm -rf Carla.exe
rm -rf Carla.lv2
rm -rf Carla.vst
rm -rf Carla_*
rm -rf pyliblo-*

}

cleanup()
{

cleanup_prefix
cleanup_pkgs
exit 0

}

# ---------------------------------------------------------------------------------------------------------------------
# function to download python stuff from msys2

@@ -206,10 +238,12 @@ export ARCH=32
export ARCH_PREFIX=32nosse
download_python
build_python
cleanup_pkgs

export ARCH=64
export ARCH_PREFIX=64
download_python
build_python
cleanup_pkgs

# ---------------------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save