Coder Social home page Coder Social logo

Comments (5)

aritger avatar aritger commented on June 13, 2024 11

Thanks for testing it. I'll get that change applied internally, and it should be included in a future release.

from open-gpu-kernel-modules.

aritger avatar aritger commented on June 13, 2024

Thanks for the report, kiroma. It looks like utils.mk treats $(HOSTNAME) as a program, rather than a value. Does it work if you make this change?

diff --git a/utils.mk b/utils.mk
index d09807eb2657..22eedeb8a004 100644
--- a/utils.mk
+++ b/utils.mk
@@ -107,7 +107,9 @@ CHMOD                 ?= chmod
 OBJCOPY               ?= objcopy
 XZ                    ?= xz
 WHOAMI                ?= whoami
-HOSTNAME              ?= hostname
+ifndef HOSTNAME
+  HOSTNAME := $(shell hostname)
+endif
 
 NV_AUTO_DEPEND        ?= 1
 NV_VERBOSE            ?= 0
@@ -524,7 +526,7 @@ define GENERATE_NVIDSTRING
   # g_nvid_string.c depends on all objects except g_nvid_string.o, and version.mk
   $(NVIDSTRING): $$(filter-out $$(call BUILD_OBJECT_LIST,$$(NVIDSTRING)), $(3)) $$(VERSION_MK)
        $(at_if_quiet)$$(MKDIR) $$(dir $$@)
-       $(at_if_quiet)$$(ECHO) "const char $(1)[] = \"nvidia id: NVIDIA $$(strip $(2)) for $$(TARGET_ARCH)  $$(NVIDIA_VERSION)  $$(NVIDSTRING_BUILD_TYPE_STRING)  (`$$(WHOAMI)`@`$$(HOSTNAME)>
+       $(at_if_quiet)$$(ECHO) "const char $(1)[] = \"nvidia id: NVIDIA $$(strip $(2)) for $$(TARGET_ARCH)  $$(NVIDIA_VERSION)  $$(NVIDSTRING_BUILD_TYPE_STRING)  (`$$(WHOAMI)`@$$(HOSTNAME))>
        $(at_if_quiet)$$(ECHO) "const char *const p$$(strip $(1)) = $(1) + 11;" >> $$@;
 endef
 

from open-gpu-kernel-modules.

kiroma avatar kiroma commented on June 13, 2024

Yep works just fine.

from open-gpu-kernel-modules.

PAR2020 avatar PAR2020 commented on June 13, 2024

Internal bug 3642605. Fix in progress.

from open-gpu-kernel-modules.

aritger avatar aritger commented on June 13, 2024

This should be fixed in 515.48.07. Please let me know if you continue to have troubles. Marking fixed.

from open-gpu-kernel-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.