nvidia-docker: split out libnvidia-container into separate drv
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 0070ada..802cef0 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -202,7 +202,7 @@ $(BIN_NAME): $(BIN_OBJS)
|
||||
##### Public rules #####
|
||||
|
||||
all: CPPFLAGS += -DNDEBUG
|
||||
-all: shared static tools
|
||||
+all: shared tools
|
||||
|
||||
# Run with ASAN_OPTIONS="protect_shadow_gap=0" to avoid CUDA OOM errors
|
||||
debug: CFLAGS += -pedantic -fsanitize=undefined -fno-omit-frame-pointer -fno-common -fsanitize=address
|
||||
@@ -232,7 +232,6 @@ install: all
|
||||
# Install header files
|
||||
$(INSTALL) -m 644 $(LIB_INCS) $(DESTDIR)$(includedir)
|
||||
# Install library files
|
||||
- $(INSTALL) -m 644 $(LIB_STATIC) $(DESTDIR)$(libdir)
|
||||
$(INSTALL) -m 755 $(LIB_SHARED) $(DESTDIR)$(libdir)
|
||||
$(LN) -sf $(LIB_SONAME) $(DESTDIR)$(libdir)/$(LIB_SYMLINK)
|
||||
$(LDCONFIG) -n $(DESTDIR)$(libdir)
|
||||
Reference in New Issue
Block a user