[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68133] [PATCH] gnu: mesa: Fix cross-compiling again.
From: |
Z572 |
Subject: |
[bug#68133] [PATCH] gnu: mesa: Fix cross-compiling again. |
Date: |
Wed, 10 Jan 2024 20:19:09 +0800 |
User-agent: |
mu4e 1.10.8; emacs 30.0.50 |
Mathieu Othacehe <othacehe@gnu.org> writes:
> Hello,
>
>> * gnu/packages/gl.scm(mesa)[native-inputs]: when cross-compile, add
>> cmake-minimal-cross.
>> [arguments]: adjust fix-cross-compiling to find llvm.
>>
>> * gnu/packages/llvm.scm(llvm-for-mesa)
>> [arguments]<#:configure-flags>: When cross-compile, set
>> -DBUILD_SHARED_LIBS:BOOL=TRUE and -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE,
>> remove -DLLVM_LINK_LLVM_DYLIB.* .
>> <#:phases>: when cross-compile, remove delete-static-libraries phase.
>
> I amended the commit message and applied,
>
> Thanks,
>
> Mathieu
after mesa-updates merge, mesa's meson.build use config-tool method to
find llvm, so cross compile break again, this patch fix it.
``` meson.build
1712| method : host_machine.system() == 'windows' ? 'auto' : 'config-tool',
```
0001-gnu-mesa-fix-cross-compiling-again.patch
Description: Text Data