1 | --- vmd-1.9.3/configure 2017-04-19 14:50:19.592820000 +0200
|
---|
2 | @@ -459,14 +459,14 @@
|
---|
3 | $arch_echo = "echo";
|
---|
4 | $arch_tar = "tar";
|
---|
5 | $arch_compress = "compress";
|
---|
6 | -$arch_gnucompress = "/usr/local/bin/gzip";
|
---|
7 | +$arch_gnucompress = "gzip";
|
---|
8 | $arch_latex = "latex";
|
---|
9 | $arch_compilerc = $arch_echo;
|
---|
10 | $arch_rcflags = "No resource compiler required on this platform.";
|
---|
11 |
|
---|
12 | $arch_cc = "cc";
|
---|
13 | $arch_ccpp = "CC";
|
---|
14 | -$arch_nvcc = "/usr/local/cuda-8.0/bin/nvcc";
|
---|
15 | +$arch_nvcc = "nvcc";
|
---|
16 | $arch_nvccflags = "--ptxas-options=-v " .
|
---|
17 | "-gencode arch=compute_30,code=compute_30 " .
|
---|
18 | "-gencode arch=compute_30,code=sm_35 " .
|
---|
19 | @@ -508,9 +508,9 @@
|
---|
20 | ################ Plugin options
|
---|
21 | #
|
---|
22 | $plugin_dir = "../plugins";
|
---|
23 | -$plugin_include = "-I$plugin_dir/include";
|
---|
24 | -$plugin_library = "";
|
---|
25 | -$plugin_libs = "";
|
---|
26 | +$plugin_include = "-I$plugin_dir/include -I$ENV{EBROOTEXPAT}/include";
|
---|
27 | +$plugin_library = "-L$ENV{EBROOTEXPAT}/lib";
|
---|
28 | +$plugin_libs = "-lexpat";
|
---|
29 | $plugin_defines = "";
|
---|
30 | @plugin_cc = ();
|
---|
31 | @plugin_cu = ();
|
---|
32 | @@ -538,8 +538,8 @@
|
---|
33 | # OpenGL libraries. Note that these options require -I and -L in front of
|
---|
34 | # the include and library directory names
|
---|
35 | $opengl_dep_dir = "";
|
---|
36 | -$opengl_dep_include = "";
|
---|
37 | -$opengl_dep_library = "";
|
---|
38 | +$opengl_dep_include = "-I/usr/include/GL";
|
---|
39 | +$opengl_dep_library = "-L/usr/lib64/nvidia";
|
---|
40 | if ($config_opengl_dispatch) {
|
---|
41 | # version of OpenGL libs that can do dispatch, allowing use of
|
---|
42 | # EGL for window management, but full GL or GLES etc for drawing
|
---|
43 | @@ -645,9 +645,9 @@
|
---|
44 | #
|
---|
45 | # FLTK-based OpenGL graphics windows
|
---|
46 | #
|
---|
47 | -$fltkopengl_dir = "";
|
---|
48 | -$fltkopengl_include = "";
|
---|
49 | -$fltkopengl_library = "";
|
---|
50 | +$fltkopengl_dir = $ENV{EBROOTFLTK};
|
---|
51 | +$fltkopengl_include = "-I$fltkopengl_dir/include";
|
---|
52 | +$fltkopengl_library = "-L$fltkopengl_dir/lib";
|
---|
53 | if ($config_arch eq "MACOSX" ||
|
---|
54 | $config_arch eq "MACOSXX86" ||
|
---|
55 | $config_arch eq "MACOSXX86_64") {
|
---|
56 | @@ -667,9 +667,9 @@
|
---|
57 | ################ FLTK GUI
|
---|
58 | $fltk_defines = "-DVMDGUI -DVMDFLTK";
|
---|
59 | $fltk_dir = "$vmd_library_dir/fltk";
|
---|
60 | -$fltk_include = "-I$fltk_dir/include";
|
---|
61 | -$fltk_library = "-L$fltk_dir/$config_arch";
|
---|
62 | -$fltk_libs = "-lfltk -lX11";
|
---|
63 | +$fltk_include = "-I$fltk_dir/include -I$ENV{EBROOTX11}/include -I$ENV{EBROOTFONTCONFIG}/include";
|
---|
64 | +$fltk_library = "-L$fltk_dir/$config_arch -L$ENV{EBROOTX11}/lib -L$ENV{EBROOTFONTCONFIG}/lib";
|
---|
65 | +$fltk_libs = "-lfltk -lX11 -lXfixes -lXext -lXrender -lXcursor -lXinerama -lXft -lfontconfig";
|
---|
66 | #@fltk_cc = ('forms_ui.c');
|
---|
67 | @fltk_cu = ();
|
---|
68 | @fltk_ccpp = ( 'ColorFltkMenu.C',
|
---|
69 | @@ -922,10 +922,10 @@
|
---|
70 | # This option enables the use of CUDA GPU acceleration functions.
|
---|
71 | #######################
|
---|
72 | $cuda_defines = "-DVMDCUDA -DMSMPOT_CUDA";
|
---|
73 | -$cuda_dir = "/usr/local/cuda-8.0";
|
---|
74 | -$cuda_include = "";
|
---|
75 | -$cuda_library = "";
|
---|
76 | -$cuda_libs = "-Wl,-rpath -Wl,\$\$ORIGIN/ -lcudart_static";
|
---|
77 | +$cuda_dir = $ENV{EBROOTCUDA};
|
---|
78 | +$cuda_include = "-I$cuda_dir/include";
|
---|
79 | +$cuda_library = "-L$cuda_dir/lib64";
|
---|
80 | +$cuda_libs = "-Wl,-rpath -Wl,\$\$ORIGIN/ -lcudart_static -lrt";
|
---|
81 | @cuda_cc = ();
|
---|
82 | @cuda_cu = ('msmpot_cuda.cu',
|
---|
83 | 'msmpot_cuda_latcut.cu',
|
---|
84 | @@ -1079,9 +1079,9 @@
|
---|
85 | } else {
|
---|
86 | $libospray_defines = "-DVMDLIBOSPRAY ";
|
---|
87 | }
|
---|
88 | -$libospray_dir = "/usr/local/ospray-1.1.1.x86_64.linux";
|
---|
89 | -$libospray_include = "-I$libospray_dir/include -I$libospray_dir/ospray/include ";
|
---|
90 | -$libospray_library = "-L$libospray_dir/lib ";
|
---|
91 | +$libospray_dir = $ENV{EBROOTOSPRAY};
|
---|
92 | +$libospray_include = "-I$libospray_dir/include -I$libospray_dir/include/ospray -I$ENV{EBROOTEMBREE}/include -I$ENV{EBROOTEMBREE}/include/embree -I$ENV{EBROOTTBB}/tbb/include -I$ENV{EBROOTTBB}/tbb/include/tbb";
|
---|
93 | +$libospray_library = "-L$libospray_dir/lib64 -L$ENV{EBROOTEMBREE}/lib64 -L$ENV{EBROOTTBB}/tbb/lib";
|
---|
94 | $libospray_libs = "-lospray -lospray_common -lembree -ltbb -ltbbmalloc ";
|
---|
95 | # Both OptiX and OSPRay renderers use the Tachyon glwin code,
|
---|
96 | # so we have to make sure we don't build/link it twice
|
---|
97 | @@ -1119,9 +1119,9 @@
|
---|
98 | # OPTIONAL COMPONENT: PNG image I/O
|
---|
99 | # This may be commented out if not required.
|
---|
100 | $libpng_defines = "-DVMDLIBPNG";
|
---|
101 | -$libpng_dir = "";
|
---|
102 | -$libpng_include = "";
|
---|
103 | -$libpng_library = "";
|
---|
104 | +$libpng_dir = $ENV{EBROOTLIBPNG};
|
---|
105 | +$libpng_include = "-I$libpng_dir/include";
|
---|
106 | +$libpng_library = "-L$libpng_dir/lib -L$ENV{EBROOTZLIB}";
|
---|
107 | $libpng_libs = "-lpng -lz";
|
---|
108 | @libpng_cc = ();
|
---|
109 | @libpng_cu = ();
|
---|
110 | @@ -1159,9 +1159,9 @@
|
---|
111 | # OPTIONAL COMPONENT: Xinerama full-screen mode handling support
|
---|
112 | # This may be commented out if not required.
|
---|
113 | $xinerama_defines = "-DVMDXINERAMA";
|
---|
114 | -$xinerama_dir = "";
|
---|
115 | -$xinerama_include = "";
|
---|
116 | -$xinerama_library = "";
|
---|
117 | +$xinerama_dir = $ENV{EBROOTX11};
|
---|
118 | +$xinerama_include = "-I$xinerama_dir/include";
|
---|
119 | +$xinerama_library = "-L$xinerama_dir/lib";
|
---|
120 | $xinerama_libs = "-lXinerama";
|
---|
121 | @xinerama_cc = ();
|
---|
122 | @xinerama_cu = ();
|
---|
123 | @@ -1172,9 +1172,9 @@
|
---|
124 | # OPTIONAL COMPONENT: XInput based Spaceball, Dial box 6DOF input support
|
---|
125 | # This may be commented out if not required.
|
---|
126 | $xinput_defines = "-DVMDXINPUT";
|
---|
127 | -$xinput_dir = "";
|
---|
128 | -$xinput_include = "";
|
---|
129 | -$xinput_library = "";
|
---|
130 | +$xinput_dir = $ENV{EBROOTX11};
|
---|
131 | +$xinput_include = "-I$xinput_dir/include";
|
---|
132 | +$xinput_library = "-L$xinput_dir/lib";
|
---|
133 | $xinput_libs = "-lXi";
|
---|
134 | @xinput_cc = ();
|
---|
135 | @xinput_cu = ();
|
---|
136 | @@ -1377,18 +1377,18 @@
|
---|
137 | # If left blank, standard system directories will be searched.
|
---|
138 | #$stock_python_include_dir=$ENV{"PYTHON_INCLUDE_DIR"} || "/usr/local/include";
|
---|
139 | #$stock_python_library_dir=$ENV{"PYTHON_LIBRARY_DIR"} || "/usr/local/lib";
|
---|
140 | -$stock_python_include_dir=$ENV{"PYTHON_INCLUDE_DIR"} || "$vmd_library_dir/python/lib_$config_arch/include/python2.5";
|
---|
141 | -$stock_python_library_dir=$ENV{"PYTHON_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.5/config";
|
---|
142 | +$stock_python_include_dir=$ENV{"PYTHON_INCLUDE_DIR"} || "$vmd_library_dir/python/lib_$config_arch/include/python2.7";
|
---|
143 | +$stock_python_library_dir=$ENV{"PYTHON_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.7/config";
|
---|
144 |
|
---|
145 | #$stock_numpy_include_dir=$ENV{"NUMPY_INCLUDE_DIR"} || "/usr/local/include";
|
---|
146 | #$stock_numpy_library_dir=$ENV{"NUMPY_LIBRARY_DIR"} || "/usr/local/lib";
|
---|
147 | $stock_numpy_include_dir=$ENV{"NUMPY_INCLUDE_DIR"} || "$vmd_library_dir/numpy/lib_$config_arch/include";
|
---|
148 | -$stock_numpy_library_dir=$ENV{"NUMPY_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.5/site-packages/numpy/core/include";
|
---|
149 | +$stock_numpy_library_dir=$ENV{"NUMPY_LIBRARY_DIR"} || "$vmd_library_dir/python/lib_$config_arch/lib/python2.7/site-packages/numpy/core/include";
|
---|
150 |
|
---|
151 | $python_defines = "-DVMDPYTHON";
|
---|
152 | $python_include = "-I$stock_python_include_dir -I$stock_numpy_include_dir -I$stock_numpy_library_dir";
|
---|
153 | $python_library = "-L$stock_python_library_dir";
|
---|
154 | -$python_libs = "-lpython2.5 -lpthread";
|
---|
155 | +$python_libs = "-lpython2.7 -lpthread";
|
---|
156 | @python_h = ('PythonTextInterp.h',
|
---|
157 | 'VMDTkinterMenu.h',
|
---|
158 | 'py_commands.h',
|
---|