From aec53c9445f5ecfa550089e62d3e982a4e15bf52 Mon Sep 17 00:00:00 2001 From: conrad Date: Fri, 18 Apr 2025 14:36:02 +1000 Subject: [PATCH] simplifications --- CMakeLists.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b3b698b..c63a9286 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,23 +16,24 @@ # ------------------------------------------------------------------------ -## NOTE: This installation script by default generates a runtime wrapper library, +## NOTE: This installation script generates a runtime wrapper library by default, ## NOTE: which links with OpenBLAS, LAPACK, etc. ## NOTE: ## NOTE: If you prefer to link your programs directly with OpenBLAS, LAPACK, etc ## NOTE: there are two options: +## NOTE: ## NOTE: (1) use the HEADER_ONLY option when running this installation script, ## NOTE: or -## NOTE: (2) do not use this installation script, and instead compile your programs -## NOTE: using the include folder directly obtained from the armadillo archive. +## NOTE: (2) do not use this installation script; instead compile your programs +## NOTE: using the include folder directly obtained from the armadillo archive. ## NOTE: ## NOTE: To forcefully disable use of the runtime wrapper library, ## NOTE: compile your programs with ARMA_DONT_USE_WRAPPER enabled. -## NOTE: For example: +## NOTE: Example: ## NOTE: g++ prog.cpp -o prog -O2 -I /home/user/armadillo-14.0.0/include -DARMA_DONT_USE_WRAPPER -lopenblas -llapack ## NOTE: -## NOTE: The above command line assumes that you have unpacked the armadillo archive into /home/user/ -## NOTE: This needs to be adjusted for newer versions of Armadillo (ie. change "14.0.0"), +## NOTE: The above assumes that the armadillo archive is unpacked into /home/user/ +## NOTE: Adjust for newer versions of Armadillo (change "14.0.0"), ## NOTE: and/or if the armadillo archive has been unpacked into a different folder. ## NOTE: ## NOTE: Replace -lopenblas with -lblas if you don't have OpenBLAS.