]> https://gitweb.dealii.org/ - candi.git/commitdiff
add nanoflann 47/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 20 Aug 2017 19:07:03 +0000 (13:07 -0600)
committerTimo Heister <timo.heister@gmail.com>
Sun, 20 Aug 2017 19:08:30 +0000 (13:08 -0600)
candi.cfg
deal.II-toolchain/packages/nanoflann.package [new file with mode: 0644]

index eb19afd967d67e9f20b98716fbe391e4d4c79b11..49d1f0f909355bbe6a1ccc3bd6f0c7b4d80717a6 100644 (file)
--- a/candi.cfg
+++ b/candi.cfg
@@ -40,6 +40,7 @@ PACKAGES="load:dealii-prepare"
 
 # These packages determine the active components of deal.II
 #PACKAGES="${PACKAGES} once:arpack-ng"
+#PACKAGES="${PACKAGES} once:nanoflann"
 PACKAGES="${PACKAGES} once:opencascade"
 PACKAGES="${PACKAGES} once:parmetis"
 #PACKAGES="${PACKAGES} once:superlu_dist"
diff --git a/deal.II-toolchain/packages/nanoflann.package b/deal.II-toolchain/packages/nanoflann.package
new file mode 100644 (file)
index 0000000..20dc363
--- /dev/null
@@ -0,0 +1,26 @@
+VERSION=v1.2.3
+EXTRACTSTO=nanoflann
+NAME=nanoflann.git
+PACKING=git
+SOURCE=https://github.com/jlblancoc/
+
+BUILDCHAIN=cmake
+
+BUILDDIR=${BUILD_PATH}/nanoflann-${VERSION}
+INSTALL_PATH=${INSTALL_PATH}/nanoflann-${VERSION}
+
+CONFOPTS="-D CMAKE_INSTALL_PREFIX=${INSTALL_PATH} \
+ -D BUILD_SHARED_LIBS=ON"
+
+package_specific_register () {
+    export NANOFLANN_DIR=${INSTALL_PATH}
+}
+
+package_specific_conf () {
+    # Generate configuration file
+    CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
+    rm -f $CONFIG_FILE
+    echo "
+export NANOFLANN_DIR=${INSTALL_PATH}
+" >> $CONFIG_FILE
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.