-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEST/APPS: Fixed building rpm. #10358
base: master
Are you sure you want to change the base?
Conversation
/azp run UCX release |
Azure Pipelines successfully started running 1 pipeline(s). |
50ce59c
to
cb3e27c
Compare
test/apps/Makefile.am
Outdated
`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)$(NVCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_cuda_get_symbol_address_CPPFLAGS) -Xcompiler "$(CPPFLAGS) $(CFLAGS)" -MT $@ -MD -MF $(DEPDIR)/test_cuda_get_symbol_address.Tpo -c -o $@ `test -f 'test_cuda_get_symbol_address.cu' || echo '$(srcdir)/'`test_cuda_get_symbol_address.cu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any way to make this simpler? maybe some kind of intermediate/explicit dependency?
what is the issue being solved here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the same command line that is autogenerated and used to build objects from .c files. The only difference are: $(NVCC)
instead of $(CC)
, -Xcompiler
to pass options not supported by nvcc, and the absence of -MP
option.
@am__fastdepCC_TRUE@
, @AMDEP_TRUE@@am__fastdepCC_FALSE@
, @am__fastdepCC_FALSE@
are used to comment out the unused lines depending on the build type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there some way to avoid taking the autogenerated command and instead just tweak some automake vars?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or at least remove some parts of the command which are not essential?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not find an easier way to use two different command line for different compilers. I can try to simplify the command line a little. However, I do not know any other ways to support different command lines for make/make dist/etc... other than using the same variables to comment out the lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, so let's try to simplify it
2b321ef
to
c7e1c6a
Compare
What?
Fixed the following scenario: