mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-30 12:33:52 -06:00
17 lines
530 B
Bash
Executable File
17 lines
530 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "EXECUTING: Build runtime - QT5"
|
|
echo
|
|
|
|
if [ ${PYTHON_VERSION:0:1} == "3" ]; then
|
|
CONFIG=/usr/local/python-${PYTHON_VERSION}/bin/python3-config
|
|
else
|
|
CONFIG=/usr/local/python-${PYTHON_VERSION}/bin/python-config
|
|
fi
|
|
|
|
cd ${WORKSPACE}/runtime
|
|
|
|
make clean
|
|
PATH=/usr/local/python-${PYTHON_VERSION}/bin:$PATH PYTHON_CONFIG=${CONFIG} /bin/qmake-qt5 DEFINES+=PGADMIN4_USE_WEBKIT || { echo 'ERROR: Failed to run the QT5 qmake step.' ; exit 1; }
|
|
make all || { echo 'ERROR: Failed to build the QT4 runtime.' ; exit 1; }
|