You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ka...@apache.org on 2016/07/01 23:09:36 UTC

mesos git commit: Added installing NVML headers with --enable-install-module-dependencies.

Repository: mesos
Updated Branches:
  refs/heads/master 0fdd4ae7b -> 797b8500b


Added installing NVML headers with --enable-install-module-dependencies.

Review: https://reviews.apache.org/r/49480/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/797b8500
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/797b8500
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/797b8500

Branch: refs/heads/master
Commit: 797b8500ba5087cb54a9e7e06b13e4830e87beeb
Parents: 0fdd4ae
Author: Kevin Klues <kl...@gmail.com>
Authored: Fri Jul 1 18:34:06 2016 -0400
Committer: Kapil Arya <ka...@mesosphere.io>
Committed: Fri Jul 1 18:34:06 2016 -0400

----------------------------------------------------------------------
 3rdparty/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/797b8500/3rdparty/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index 2b24387..bd990cc 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -299,6 +299,11 @@ if WITH_BUNDLED_GLOG
 	cd $(GLOG) && \
 	  $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(INSTALLDIR) install
 endif
+if WITH_BUNDLED_NVML
+	@test -d $(INSTALLDIR)/include/nvidia || \
+	  rm -rf $(INSTALLDIR)/include/nvidia
+	cp -fpR $(NVML)/nvidia $(INSTALLDIR)/include/
+endif
 if WITH_BUNDLED_PICOJSON
 	cd $(PICOJSON) && \
 	  $(MAKE) $(AM_MAKEFLAGS) \