File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ qt_build_dir="qt-build"
55qt_install_dir=" /opt/qt-static"
66qt_version=" 6.9.1"
77release_flags=" -DCMAKE_BUILD_TYPE=Release"
8- opt_flags=" -O3 -march=native -flto -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ftree-vectorize -fvisibility=hidden"
8+ opt_flags=" -O1 -funroll-loops -fomit-frame-pointer -fstrict-aliasing -ftree-vectorize -fvisibility=hidden"
99nproc=$( nproc)
1010
1111create_build_dir () {
@@ -15,7 +15,7 @@ create_build_dir() {
1515install_base () {
1616 sudo apt-get update
1717 sudo apt-get install -y cmake ninja-build desktop-file-utils \
18- clang-17 lldb-17 libclang-17-dev \
18+ clang \
1919 build-essential perl python3 python3-pip \
2020 libfontconfig1-dev libfreetype6-dev \
2121 libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev \
@@ -84,7 +84,9 @@ build_static_qt() {
8484 -DQT_FEATURE_strip=ON \
8585 -DQT_BUILD_EXAMPLES=OFF \
8686 -DQT_BUILD_TESTS=OFF \
87- -DQT_SKIP_MODULES=qtwebengine; qt3d; qt5compat; qtactiveqt; qtcharts; qtconnectivity; qtdatavis3d; qtdoc; qtgamepad; qtgraphicaleffects; qthttpserver; qtimageformats; qtlocation; qtlottie; qtmultimedia; qtnetworkauth; qtopcua; qtpositioning; qtpurchasing; qtquick3d; qtquickcontrols2; qtquicktimeline; qtremoteobjects; qtsensors; qtspeech; qtstatemachine; qtsvg; qtvirtualkeyboard; qtwayland; qtwebchannel; qtwebsockets; qtwebview; qtx11extras; qtxmlpatterns
87+ -DQT_SKIP_MODULES=qtwebengine \
88+ -DQT_FEATURE_clang=ON \
89+ -DQT_FEATURE_clangcpp=ON \
8890
8991 ninja -j " $nproc "
9092 sudo ninja install
You can’t perform that action at this time.
0 commit comments