From c7e1c6ade1bd0e99bde90eae957bc1764cf78477 Mon Sep 17 00:00:00 2001 From: rakhmets Date: Mon, 13 Jan 2025 10:27:28 +0200 Subject: [PATCH] TEST/APPS: Fixed building rpm. --- test/apps/Makefile.am | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/test/apps/Makefile.am b/test/apps/Makefile.am index 690dbc4c300..6ab8a6e2010 100644 --- a/test/apps/Makefile.am +++ b/test/apps/Makefile.am @@ -101,11 +101,14 @@ if HAVE_NVCC noinst_PROGRAMS += test_cuda_get_symbol_address test_cuda_get_symbol_address_SOURCES = test_cuda_get_symbol_address.cu test_cuda_get_symbol_address_CPPFLAGS = $(BASE_CPPFLAGS) $(CUDA_CPPFLAGS) -test_cuda_get_symbol_address_CFLAGS = $(BASE_CFLAGS) test_cuda_get_symbol_address_LDFLAGS = $(CUDA_LDFLAGS) test_cuda_get_symbol_address_LDADD = $(top_builddir)/src/ucp/libucp.la \ $(top_builddir)/src/ucm/libucm.la \ $(CUDART_LIBS) +test_cuda_get_symbol_address_DEPBASE = $(DEPDIR)/test_cuda_get_symbol_address +test_cuda_get_symbol_address_COMPILE = \ + $(NVCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(test_cuda_get_symbol_address_CPPFLAGS) endif endif @@ -122,9 +125,8 @@ endif .cu.o : ; $(NVCC) -c -o $@ $< test_cuda_get_symbol_address.o: test_cuda_get_symbol_address.cu - $(NVCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(test_cuda_get_symbol_address_CPPFLAGS) -MT $@ -MD -MF \ - $(DEPDIR)/test_cuda_get_symbol_address.Tpo -c -o $@ \ - `test -f '$<' || echo '$(srcdir)/'`$< - $(AM_V_at)$(am__mv) $(DEPDIR)/test_cuda_get_symbol_address.Tpo \ - $(DEPDIR)/test_cuda_get_symbol_address.Po +@am__fastdepCC_TRUE@ $(AM_V_CC)$(test_cuda_get_symbol_address_COMPILE) -MT $@ -MD -MF $(test_cuda_get_symbol_address_DEPBASE).Tpo -c -o $@ `test -f '$(