HenrikBengtsson / CBI-software

A Scientific Software Stack for HPC (CentOS oriented)
https://wynton.ucsf.edu/hpc/software/software-repositories.html
5 stars 2 forks source link

jq: Configure also header include path and PKG_CONFIG_PATH #123

Closed HenrikBengtsson closed 5 months ago

HenrikBengtsson commented 5 months ago
$ module show jq
-----------------------------------------------------------------------------------------
   /wynton/home/cbi/shared/modulefiles/CBI/jq/1.7.lua:
-----------------------------------------------------------------------------------------
help([[jq: Command-line JSON Processor 
]])
whatis("Version: 1.7")
whatis("Keywords: utility, cli")
whatis("URL: https://github.com/jqlang/jq, https://github.com/jqlang/jq/blob/master/NEWS.md (changelog), https://jqlang.github.io/jq (documentation)")
whatis("Description: jq is a lightweight and flexible command-line JSON processor.
Examples: `jq --help`, `jq --version`, `cat in.json | jq .`, and `man jq`
Warning: Only the most recent version of this software will be kept.
")
prepend_path("PATH","/wynton/home/cbi/shared/software/CBI/jq-1.7/bin")
prepend_path("MANPATH","/wynton/home/cbi/shared/software/CBI/jq-1.7/share/man")
prepend_path("LD_LIBRARY_PATH","/wynton/home/cbi/shared/software/CBI/jq-1.7/lib")

```sh
$ ls -l /wynton/home/cbi/shared/software/CBI/jq-1.7
total 3
dr-xr-xr-x.   6 hb cbi   4 Sep 15  2023 .
drwxr-xr-x. 468 hb cbi 473 May  2 09:08 ..
dr-xr-xr-x.   2 hb cbi   2 Sep 15  2023 bin
dr-xr-xr-x.   2 hb cbi   4 Sep 15  2023 include
dr-xr-xr-x.   3 hb cbi  11 Sep 15  2023 lib
dr-xr-xr-x.   4 hb cbi   2 Sep 15  2023 share

$ ls -l /wynton/home/cbi/shared/software/CBI/jq-1.7/share/
total 2
dr-xr-xr-x. 4 hb cbi 2 Sep 15  2023 .
dr-xr-xr-x. 6 hb cbi 4 Sep 15  2023 ..
dr-xr-xr-x. 3 hb cbi 1 Sep 15  2023 doc
dr-xr-xr-x. 3 hb cbi 1 Sep 15  2023 man

$ ls -l /wynton/home/cbi/shared/software/CBI/jq-1.7/include/
total 46
dr-xr-xr-x. 2 hb cbi     4 Sep 15  2023 .
dr-xr-xr-x. 6 hb cbi     4 Sep 15  2023 ..
-r--r--r--. 1 hb cbi  2481 Sep 15  2023 jq.h
-r--r--r--. 1 hb cbi 10380 Sep 15  2023 jv.h
-r--r--r--. 1 hb cbi  3361 Sep 15  2023 oniggnu.h
-r--r--r--. 1 hb cbi 49077 Sep 15  2023 oniguruma.h