[Mesa-dev] [Bug 44618] Cross-compilation broken by glsl builtin_compiler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 26 21:12:56 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=44618

Matt Turner <mattst88 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mattst88 at gmail.com

--- Comment #8 from Matt Turner <mattst88 at gmail.com> 2012-01-26 21:12:56 PST ---
I think I can partially fix this with automake.

Automake doesn't have a concept for host vs target $(CC)s, so you can't really
compile a single binary on the build system which is used to produce code
that'll be cross-compiled. So, that doesn't help, but:

I think I can add builtin_function.cpp to the BUILT_SOURCES or EXTRA_DIST
variables so that when you do `make dist` to generate the Mesa release tarball,
it'll build enough of src/glsl/* to generate builtin_function.cpp, which it'll
then include in the tarball. The cross-compiling system will then not have to
worry about generating it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list