Bug 274891 - lang/intel-compute-runtime: fix build error since gmmlib update to version 22.3.9
Summary: lang/intel-compute-runtime: fix build error since gmmlib update to version 22...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jan Beich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-03 18:41 UTC by Lars Herschke
Modified: 2023-11-20 13:45 UTC (History)
1 user (show)

See Also:
lhersch: maintainer-feedback? (garga)
lhersch: maintainer-feedback-
jbeich: merge-quarterly+


Attachments
fix build error (1.16 KB, patch)
2023-11-03 18:41 UTC, Lars Herschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Herschke 2023-11-03 18:41:18 UTC
Created attachment 246083 [details]
fix build error
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-11-20 13:38:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5bae779cbf3ecff19b7c6ff95dd7809d0863b7b5

commit 5bae779cbf3ecff19b7c6ff95dd7809d0863b7b5
Author:     Lars Herschke <lhersch@dssgmbh.de>
AuthorDate: 2023-11-03 18:13:55 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-11-20 13:37:19 +0000

    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

 .../files/patch-gmmlib-22.3.7 (new)                | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-11-20 13:38:46 UTC
A commit in branch 2023Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a19c2f3b1779b727d8e9a8e03f1edb1c38f27c40

commit a19c2f3b1779b727d8e9a8e03f1edb1c38f27c40
Author:     Lars Herschke <lhersch@dssgmbh.de>
AuthorDate: 2023-11-03 18:13:55 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-11-20 13:38:11 +0000

    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

    (cherry picked from commit 5bae779cbf3ecff19b7c6ff95dd7809d0863b7b5)

 .../files/patch-gmmlib-22.3.7 (new)                | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
Comment 3 Jan Beich freebsd_committer freebsd_triage 2023-11-20 13:45:29 UTC
Thanks. Landed with minor changes.

FWIW, if you need a better maintained OpenCL (but not Level Zero) driver use Rusticl instead (see ports d8990eff958b).