2015-09-09 22:21:51 +02:00
|
|
|
#!/bin/sh
|
2016-03-13 02:35:17 +01:00
|
|
|
# create all directly for release with -DCMAKE_BUILD_TYPE=Release -Wno-dev
|
2015-09-09 22:21:51 +02:00
|
|
|
# Create the x64 build
|
2016-04-26 12:27:59 +02:00
|
|
|
mkdir build-x86x64
|
|
|
|
cd build-x86x64
|
2016-03-13 02:35:17 +01:00
|
|
|
cmake -DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
|
2015-09-09 22:21:51 +02:00
|
|
|
make -j 4
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
# Create the x32 build
|
2016-03-15 20:33:38 +01:00
|
|
|
#mkdir build-x32
|
|
|
|
#cd build-x32
|
|
|
|
#cmake -DIMPORT_PROTOC=../build-x64/protoc_export.cmake -DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
|
|
|
|
#make -j 4
|
|
|
|
#cd ..
|
2015-09-09 22:21:51 +02:00
|
|
|
|
|
|
|
# Create the RPI build
|
|
|
|
mkdir build-rpi
|
|
|
|
cd build-rpi
|
2016-04-26 12:27:59 +02:00
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE="../Toolchain-rpi.cmake" -DIMPORT_PROTOC=../build-x86x64/protoc_export.cmake -DENABLE_WS2812BPWM=ON -DENABLE_WS281XPWM=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
|
2015-09-09 22:21:51 +02:00
|
|
|
make -j 4
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
# Create the WETEK build
|
|
|
|
mkdir build-wetek
|
|
|
|
cd build-wetek
|
2016-04-26 12:27:59 +02:00
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE="../Toolchain-rpi.cmake" -DIMPORT_PROTOC=../build-x86x64/protoc_export.cmake -DENABLE_DISPMANX=OFF -DENABLE_FB=ON -DENABLE_AMLOGIC=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
|
2015-09-09 22:21:51 +02:00
|
|
|
make -j 4
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
# Create the IMX6 build
|
2016-03-15 20:33:38 +01:00
|
|
|
#mkdir build-imx6
|
|
|
|
#cd build-imx6
|
2016-03-15 21:14:32 +01:00
|
|
|
#cmake -DCMAKE_TOOLCHAIN_FILE="../Toolchain-imx6.cmake" -DIMPORT_PROTOC=../build-x32x64/protoc_export.cmake -DENABLE_DISPMANX=OFF -DENABLE_FB=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
|
2016-03-15 20:33:38 +01:00
|
|
|
#make -j 4
|
|
|
|
#cd ..
|
2015-09-09 22:21:51 +02:00
|
|
|
|
2016-04-26 12:27:59 +02:00
|
|
|
bin/create_release.sh . x86x64
|
2016-03-15 20:33:38 +01:00
|
|
|
#bin/create_release.sh . x32
|
2015-09-09 22:21:51 +02:00
|
|
|
bin/create_release.sh . rpi
|
|
|
|
bin/create_release.sh . wetek
|
2016-03-15 20:33:38 +01:00
|
|
|
#bin/create_release.sh . imx6
|
2015-09-09 22:21:51 +02:00
|
|
|
|