[Mesa-dev] [PATCH] Add initial Haiku build support
Alexander von Gluck
kallisti5 at unixzen.com
Fri Dec 23 14:07:36 PST 2011
On Thu, 22 Dec 2011 09:45:01 +0100, Maarten Lankhorst wrote:
> Hey Alexander,
>
> On 12/21/2011 07:16 PM, Alexander von Gluck wrote:
>>
>> * Doesn't reintroduce legacy drivers
>> * Adds Haiku mklib code
>> * Removes some broken PIPE_OS_HAIKU defines
>> * Removes an NDEBUG ifdef in link_uniforms.cpp,
>> there is an item that uses the union without
>> checking NDEBUG below.
>> * Haiku has a opengl kit that will wrap all of
>> these build binaries(pretty much an external beos
>> mesa driver)
> Smells like this patch should be split up to address each point
> separately..
Working on this now, a better patch should be hitting the ML soon.
This new patch has some cleanup as well and should represent everything
major we
need to get mesa working on Haiku.
In the upcoming patch, we are building several static libraries.. this
is expected.
The plan for Haiku is that we will have a script within the Haiku
project which
handles extracting what we need from Mesa.
This script will...
1) Build mesa for haiku via 'make haiku'
2) Zip up:
- All of the mesa headers we use within our openGL kit which wraps
libGL, and
dependencies on those headers found via gcc -MM
- All the .a static libraries.
3) During the Haiku build process, we pull the zip above and expand it
within our
build directory. We then take the static libraries and link them all
into libGL.so.
This should cover us for software rendering. I've successfully compiled
several
Gallium3D drivers, however getting stock Mesa into the build system is
definitely
my first goal.
Thanks!
-- Alex
More information about the mesa-dev
mailing list