[Webkit-unassigned] [Bug 194147] [CMake] Build 32bit binaries on Linux/64bit when the --32-bit is passed to build-jsc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 11 08:53:01 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=194147

--- Comment #4 from Xan Lopez <xan.lopez at gmail.com> ---
(In reply to Daniel Bates from comment #3)
> > +        push @cmakeArgs, '-DFORCE_32BIT=ON -DCMAKE_PREFIX_PATH="/usr" -DCMAKE_LIBRARY_ARCHITECTURE=x86';
> 
> Doesn't prefix path affect install path? If so, is that what we want? I
> don't understand the prefix path part.
> 

Hrm, that would be CMAKE_INSTALL_PREFIX I guess? My understanding is that it is used by the FIND_XXX commands (see https://cmake.org/cmake/help/v3.0/variable/CMAKE_PREFIX_PATH.html). If it is set (it's empty by default) CMake search the .pc files in CMAKE_PREFIX_PATH + "/lib", which is the right path for 32bit .pc files. Otherwise, in a 64bit system, it would use /usr/lib64, etc.

(That does not apply to Debian, that's why I also set another variable as indicated in the comment).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190311/428fd885/attachment.html>


More information about the webkit-unassigned mailing list