1 |
jlec 14/05/28 09:50:34 |
2 |
|
3 |
Added: nvidia-cuda-sdk-6.0.37-asneeded.patch |
4 |
nvidia-cuda-sdk-6.0.37-simpleMPI.patch |
5 |
Log: |
6 |
dev-util/nvidia-cuda-sdk: Version Bump, #507804 |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-asneeded.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-asneeded.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-asneeded.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: nvidia-cuda-sdk-6.0.37-asneeded.patch |
17 |
=================================================================== |
18 |
--- a/cuda-samples/0_Simple/cudaOpenMP/Makefile |
19 |
+++ b/cuda-samples/0_Simple/cudaOpenMP/Makefile |
20 |
@@ -166,7 +166,7 @@ |
21 |
endif |
22 |
endif |
23 |
|
24 |
-GOMPLIB ?= $(shell find $(OPENMPDIR)/libgomp* 2>/dev/null) |
25 |
+GOMPLIB ?= $(shell find $(OPENMPDIR) -type f -name libgomp* 2>/dev/null) |
26 |
|
27 |
ifeq ($(GOMPLIB),) |
28 |
$(info -----------------------------------------------------------------------------------------------) |
29 |
--- a/cuda-samples/0_Simple/UnifiedMemoryStreams/Makefile |
30 |
+++ b/cuda-samples/0_Simple/UnifiedMemoryStreams/Makefile |
31 |
@@ -166,7 +166,7 @@ |
32 |
endif |
33 |
endif |
34 |
|
35 |
-GOMPLIB ?= $(shell find $(OPENMPDIR)/libgomp* 2>/dev/null) |
36 |
+GOMPLIB ?= $(shell find $(OPENMPDIR) -type f -name libgomp* 2>/dev/null) |
37 |
|
38 |
ifeq ($(GOMPLIB),) |
39 |
$(info -----------------------------------------------------------------------------------------------) |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-simpleMPI.patch |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-simpleMPI.patch?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-simpleMPI.patch?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: nvidia-cuda-sdk-6.0.37-simpleMPI.patch |
49 |
=================================================================== |
50 |
--- a/cuda-samples/0_Simple/simpleMPI/Makefile |
51 |
+++ b/cuda-samples/0_Simple/simpleMPI/Makefile |
52 |
@@ -172,7 +172,7 @@ |
53 |
MPICXX=mpicxx |
54 |
EXEC=@echo "[@]" |
55 |
else |
56 |
- MPI_GCC := $(shell $(MPICXX) -v 2>&1 | grep x86_64-pc-linux-gnu-gcc | wc -l | tr -d ' ') |
57 |
+ MPI_GCC := $(shell $(MPICXX) -v 2>&1 | grep gcc | wc -l | tr -d ' ') |
58 |
ifeq ($(MPI_GCC),0) |
59 |
MPI_CCFLAGS += -stdlib=libstdc++ |
60 |
MPI_LDFLAGS += -stdlib=libstdc++ |