File: README.libqhull

package info (click to toggle)
plplot 5.10.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 26,280 kB
  • ctags: 13,512
  • sloc: ansic: 83,001; xml: 27,081; ada: 18,878; cpp: 15,966; tcl: 11,651; python: 7,075; f90: 7,058; ml: 6,974; java: 6,665; perl: 5,029; sh: 2,210; makefile: 199; lisp: 75; sed: 25; fortran: 7
file content (43 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
The manifest of these changes is as follows:

This file:

README.libqhull

Improved build system (now including visibility support thanks to
the recent changes in the src subdirectory).

libqhull_CMakeLists.txt
src/CMakeLists.txt
src/libqhull.h
src/mem.h
src/unix.c

(1) copy this directory and all subdirectories on top of a pre-existing
freshly unpacked version of qhull-2010.1, e.g.,

cp -f libqhull_CMakeLists.txt ~/qhull/qhull-2010.1_patched
cp -f src/CMakeLists.txt src/libqhull.h src/mem.h src/unix.c ~/qhull/qhull-2010.1_patched/src

(1.5) Rename libqhull_CMakeLists.txt in the destination as CMakeLists.txt, e.g.,

mv ~/qhull/qhull-2010.1_patched/libqhull_CMakeLists.txt ~/qhull/qhull-2010.1_patched/CMakeLists.txt

(2) configure, build, and install libqhull starting with an empty build tree
and empty install tree, e.g.,

rm -rf /home/software/qhull/build_dir/* /home/software/qhull/install
cd /home/software/qhull/build_dir
cmake -DCMAKE_INSTALL_PREFIX=/home/software/qhull/install \
../qhull-2010.1_patched >& cmake.out
make -j4 install >& make_install.out

The above step works fine on Linux with

export CFLAGS='-g -fvisibility=hidden'

set before the "cmake" invocation to test the new gcc visibility support
for libqhull.

N.B. This improved CMake-based build system only tested for Linux for
now and needs further testing on Windows and Mac OS X platforms.