make install regenerates radv_timestamp.h and rebuilds radv_device.lo
https://bugs.freedesktop.org/show_bug.cgi?id=98166
Bug ID: 98166
Summary: [vulkan, radv] make install regenerates
radv_timestamp.h and rebuilds radv_device.lo
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Making install in amd/vulkan
make[3]: Entering directory '/home/vedranm/workspace/mesa/src/amd/vulkan' Updating radv_timestamp.h
GEN radv_timestamp.h
make install-am
make[4]: Entering directory '/home/vedranm/workspace/mesa/src/amd/vulkan' Updating radv_timestamp.h
GEN radv_timestamp.h CC radv_device.lo CCLD libvulkan_common.la CXXLD libvulkan_radeon.la GEN .install-mesa-links make[5]: Entering directory '/home/vedranm/workspace/mesa/src/amd/vulkan' Updating radv_timestamp.h GEN radv_timestamp.h CC radv_device.lo CCLD libvulkan_common.la CXXLD libvulkan_radeon.la
/usr/bin/mkdir -p '/usr/local/lib64'
/bin/sh ../../../libtool --mode=install /usr/bin/install -c
libvulkan_radeon.la '/usr/local/lib64'
libtool: install: /usr/bin/install -c .libs/libvulkan_radeon.so /usr/local/lib64/libvulkan_radeon.so
libtool: install: /usr/bin/install -c .libs/libvulkan_radeon.lai /usr/local/lib64/libvulkan_radeon.la
libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/local/lib64
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib64
Would be much if it was regenerated/rebuilt only on make and not on make install.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=98166
--- Comment #1 from Emil Velikov <[email protected]> --- (In reply to Vedran Miletić from comment #0)
Quoted 2 lines
Would be much if it was regenerated/rebuilt only on make and not on make install.
much better ? Indeed it would.
Sadly given the constrains I cannot think of anything nicer I'm afraid. The gist is that the file must be updated on incremental builds and we cannot ensure that not files are changed/rebuild between build and install stage. For the experiments and a lot more context check the git history, and mailing list, for anv_timestamp.h.
One 'workaround' is to use SOURCE_DATE_EPOCH as described here [1].
[1] https://reproducible-builds.org/specs/source-date-epoch/
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=98166
Vedran Miletić <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|[email protected] |[email protected]. |.org |org Component|Drivers/Gallium/radeonsi |Drivers/Vulkan/radeon Assignee|[email protected] |[email protected]. |.org |org
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel