[Mesa-dev] anv out-of-tree build broken

Steven Newbury steve at snewbury.org.uk
Thu Mar 23 18:02:03 UTC 2017


The recent changes to anv_entrypoints_gen.py seem to have broken out-of 
-tree builds:

Traceback (most recent call last):
  File "/var/tmp/portage/media-libs/mesa-9999-r1/work/Mesa-9999/src/intel/vulkan/anv_entrypoints_gen.py", line 381, in <module>
    main()
  File "/var/tmp/portage/media-libs/mesa-9999-r1/work/Mesa-9999/src/intel/vulkan/anv_entrypoints_gen.py", line 373, in main

    with open(os.path.join(args.outdir, 'anv_entrypoints.h'), 'wb') as f:
IOError: [Errno 2] No such file or directory: './vulkan/anv_entrypoints.h'

There is no prerequisite before anv_entrypoints.{h,c} is made to create
the vulkan directory in the $(builddir) and the python script doesn't
do so either.

Creating the "vulkan" directory in $(builddir) as the Android makefile
does is sufficient to make it work but it is a bit hacky.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170323/9eea191d/attachment.sig>


More information about the mesa-dev mailing list