mirror of https://github.com/qt/qt5.git
Provisioning: Install openssl3 into Debian VM
Task-number: QTBUG-123049 Change-Id: Ia4bacf1b7751e15915fc7faca473cb0408a72e35 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
parent
92969b10f5
commit
e34e62b3b2
|
@ -188,7 +188,7 @@ Configurations:
|
|||
Features: ['Packaging', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-doubleconversion -qt-harfbuzz -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY'
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
]
|
||||
# Test on Debian-11.6 offscreen
|
||||
-
|
||||
|
|
|
@ -25,15 +25,16 @@ cd "$opensslSource"
|
|||
pwd
|
||||
|
||||
if [[ "$os" == "linux" ]]; then
|
||||
./Configure --prefix="$opensslHome" shared enable-ec_nistp_64_gcc_128 linux-x86_64 "-Wa,--noexecstack"
|
||||
if [ $(uname -m) = aarch64 ]; then
|
||||
arch=$(uname -m)
|
||||
else
|
||||
arch="x86_64"
|
||||
fi
|
||||
./Configure --prefix="$opensslHome" shared enable-ec_nistp_64_gcc_128 "linux-$arch" "-Wa,--noexecstack"
|
||||
make && make install_sw install_ssldirs
|
||||
SetEnvVar "OPENSSL_HOME" "$opensslHome"
|
||||
SetEnvVar "PATH" "\"$opensslHome/bin:\$PATH\""
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib64:$LD_LIBRARY_PATH" >> ~/.bash_profile
|
||||
else
|
||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc
|
||||
fi
|
||||
SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib64:$LD_LIBRARY_PATH\""
|
||||
|
||||
elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
|
||||
# Below target location has been hard coded into Coin.
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2023 The Qt Company Ltd
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -ex
|
||||
|
||||
"$(dirname "$0")/../common/unix/install-openssl.sh" "linux"
|
Loading…
Reference in New Issue