qt6_quick3dphysics: disable SIMD

This commit is contained in:
Gerasim Troeglazov
2023-05-14 22:53:45 +10:00
parent 7979e538f6
commit 6c93ab094b
2 changed files with 25 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
From b501ac0cd70819de6e8f7167b39a4fa17e63199d Mon Sep 17 00:00:00 2001
From 0bdc9128a25c4f35c14ab2847e7fa4686e8530b9 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sun, 9 Apr 2023 19:16:54 +1000
Subject: Add Haiku support
@@ -227,3 +227,26 @@ index 46034b0..58b4059 100644
--
2.37.3
From d36212644e56bca6df9ac660a20c04210a7c0117 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sun, 14 May 2023 20:27:32 +1000
Subject: Disable SIMD for Haiku
diff --git a/src/3rdparty/PhysX/CMakeLists.txt b/src/3rdparty/PhysX/CMakeLists.txt
index 366a9c0..baf17bd 100644
--- a/src/3rdparty/PhysX/CMakeLists.txt
+++ b/src/3rdparty/PhysX/CMakeLists.txt
@@ -1341,7 +1341,7 @@ if (WIN32)
endif()
## MSYS
-if (MSYS OR MINGW)
+if (MSYS OR MINGW OR HAIKU)
qt_internal_extend_target(BundledPhysX DEFINES PX_SIMD_DISABLED PX_GCC_FAMILY)
endif()
--
2.37.3

View File

@@ -8,7 +8,7 @@ COPYRIGHT="2015-2023 The Qt Company Ltd."
LICENSE="GNU LGPL v2.1
GNU LGPL v3
GNU FDL v1"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules/qtquick3dphysics-everywhere-src-$portVersion.tar.xz"
CHECKSUM_SHA256="01c5a922238f1a16924b5e956c65fc7342a10b06546572ac9ceb623dbe98c011"
SOURCE_DIR="qtquick3dphysics-everywhere-src-$portVersion"