[Piglit] [PATCH 2/4] cmake: Don't rely on pkg-config for all Windows builds.
Jose Fonseca
jfonseca at vmware.com
Mon Dec 15 12:09:26 PST 2014
On 15/12/14 19:47, Emil Velikov wrote:
> On 15/12/14 12:19, Jose Fonseca wrote:
>> From: José Fonseca <jfonseca at vmware.com>
>>
>> Instead of just MSVC builds.
>>
>> Because pkg-config is not commonly available when compiling natively on
>> Windows, and gives the wrong results (the host package instead of target
>> package) when cross-compiling to Windows.
> Short version:
> Also might be worth checking Dylan's fixes (touching both waffle and
> piglit). And then build on top if needed.
>
>
> Longer version:
> Don't know about native non-msvc builds, but cygwin had pkg-config which
> was working fine. I've not tried waffle or piglit with cygwin.
>
> The cross-compiling issue is likely to be caused by
> something/miss-configured in your "toolchain" file. Take a look/install
> the mingw-w64-cmake [1].
>
>
> Cheers,
> Emil
>
> [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__aur.archlinux.org_packages_mingw-2Dw64-2Dcmake_&d=AAIDaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=zfmBZnnVGHeYde45pMKNnVyzeaZbdIqVLprmZCM2zzE&m=jZIn8FKasi0habXCHbsoRS823LO0ZFGCba4GIDrlUBw&s=uISto3_loppZ5FFgWi7vZfrdad1Vlw1IiRXRCruxjMo&e=
>
I did but it couldn't make it work for me. pkg-config insists on
picking the system's waffle-1.pc somehow.
Does this actually work for you?
Jose
More information about the Piglit
mailing list