Am 18.03.21 um 18:15 schrieb Kornel Benko:
Am Thu, 18 Mar 2021 16:50:19 +0100
schrieb "'Kay F. Jahnke' via hugin and other free panoramic software"
<[email protected]>:
@Kornel: If I update pv_combine.cc in the root directory, then issue
'make' in the build directory, the update goes unnoticed. I can touch
the generated per-isa variants (pv_combine_avx.cc etc.) which triggers a
recompile, but I think this should happen automatically. Can you maybe
fix that? It should just be a matter of telling cmake about the
unexpected dependencies.
Kay
My fail.
use
foreach(_f pv_fallback pv_avx pv_avx2 pv_avx512f)
add_custom_command(
COMMAND $(CMAKE_COMMAND) -E copy_if_different
ARGS ${CMAKE_CURRENT_SOURCE_DIR}/pv_rendering.cc
${CMAKE_BINARY_DIR}/${_f}.cc OUTPUT ${CMAKE_BINARY_DIR}/${_f}.cc
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/pv_rendering.cc
)
endforeach()
...
(See 'DEPENDS', hope this is better)
commit 0949aa0fac38b069466381dc8be70a872e35e2b5 (HEAD -> master,
origin/master, origin/HEAD)
Author: Kay F. Jahnke
Date: Thu Mar 18 21:13:16 2021 +0100
fixes flaw in CMakeLists.txt which made edits to rendering code go
unnoticed. cmake did not see the dependency between the sources
pv_combine.cc and pv_rendering.cc and the isa-specific versions it
created with a custom command. This commit fixes it.
Thanks, Kornel, now it works as expected!
Kay
--
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/65e8b113-1260-e7c6-6927-1c575b0d18e6%40yahoo.com.