aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Herschke <lhersch@dssgmbh.de>2023-11-03 18:13:55 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-11-20 13:37:19 +0000
commit5bae779cbf3ecff19b7c6ff95dd7809d0863b7b5 (patch)
treec7147a2e93962ee5c511cba2c435deb3cb93889e
parent24104f31e4d4d0ecadca630027d8fb28bef6ca6d (diff)
downloadports-5bae779cbf3ecff19b7c6ff95dd7809d0863b7b5.tar.gz
ports-5bae779cbf3ecff19b7c6ff95dd7809d0863b7b5.zip
lang/intel-compute-runtime: unbreak build after 41f2281cb356
shared/source/gen8/hw_info_bdw.cpp:20:10: error: use of undeclared identifier 'IBDW_GT0_DESK_DEVICE_F0_ID' case IBDW_GT0_DESK_DEVICE_F0_ID: ^ shared/source/gen8/hw_info_bdw.cpp:21:10: error: use of undeclared identifier 'IBDW_GT1_DESK_DEVICE_F0_ID' case IBDW_GT1_DESK_DEVICE_F0_ID: ^ shared/source/gen8/hw_info_bdw.cpp:22:10: error: use of undeclared identifier 'IBDW_GT2_DESK_DEVICE_F0_ID' case IBDW_GT2_DESK_DEVICE_F0_ID: ^ shared/source/gen8/hw_info_bdw.cpp:23:10: error: use of undeclared identifier 'IBDW_GT3_DESK_DEVICE_F0_ID' case IBDW_GT3_DESK_DEVICE_F0_ID: ^ shared/source/gen8/hw_info_bdw.cpp:24:10: error: use of undeclared identifier 'IBDW_GT4_DESK_DEVICE_F0_ID' case IBDW_GT4_DESK_DEVICE_F0_ID: ^ PR: 274891 Reported by: pkg-fallout
-rw-r--r--lang/intel-compute-runtime/files/patch-gmmlib-22.3.722
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/intel-compute-runtime/files/patch-gmmlib-22.3.7 b/lang/intel-compute-runtime/files/patch-gmmlib-22.3.7
new file mode 100644
index 000000000000..6ba0f7c7c402
--- /dev/null
+++ b/lang/intel-compute-runtime/files/patch-gmmlib-22.3.7
@@ -0,0 +1,22 @@
+Chase https://github.com/intel/gmmlib/commit/861d5b2318ec
+until https://github.com/intel/compute-runtime/commit/cfe51ff2ba97
+
+--- shared/source/gen8/hw_info_bdw.cpp.orig 2022-06-08 12:04:46 UTC
++++ shared/source/gen8/hw_info_bdw.cpp
+@@ -17,11 +17,11 @@ bool isSimulationBDW(unsigned short deviceId) {
+
+ bool isSimulationBDW(unsigned short deviceId) {
+ switch (deviceId) {
+- case IBDW_GT0_DESK_DEVICE_F0_ID:
+- case IBDW_GT1_DESK_DEVICE_F0_ID:
+- case IBDW_GT2_DESK_DEVICE_F0_ID:
+- case IBDW_GT3_DESK_DEVICE_F0_ID:
+- case IBDW_GT4_DESK_DEVICE_F0_ID:
++ case 0x0BD0:
++ case 0x0BD1:
++ case 0x0BD2:
++ case 0x0BD3:
++ case 0x0BD4:
+ return true;
+ }
+ return false;