GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 72786411 authored by Philip Carns's avatar Philip Carns

add modulefile for craype 2.x deployments


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@852 3b7491f3-a168-0410-bf4b-c445ed680a29
parent fea9af41
......@@ -102,6 +102,8 @@ endif
install -m 755 darshan-config $(bindir)
install -d $(datarootdir)/craype-1.x/modulefiles/darshan
install -m 755 share/craype-1.x/darshan-module $(datarootdir)/craype-1.x/modulefiles/darshan/$(DARSHAN_VERSION)
install -d $(datarootdir)/craype-2.x/modulefiles/darshan
install -m 755 share/craype-2.x/darshan-module $(datarootdir)/craype-2.x/modulefiles/darshan/$(DARSHAN_VERSION)
install -d $(libdir)/pkgconfig
install -m 644 lib/pkgconfig/darshan-runtime.pc $(libdir)/pkgconfig/darshan-runtime.pc
......
......@@ -4347,7 +4347,7 @@ DARSHAN_VERSION="2.2.9-pre1"
ac_config_files="$ac_config_files Makefile darshan-mk-log-dirs.pl darshan-gen-cc.pl darshan-gen-cxx.pl darshan-gen-fortran.pl darshan-config share/craype-1.x/darshan-module lib/pkgconfig/darshan-runtime.pc"
ac_config_files="$ac_config_files Makefile darshan-mk-log-dirs.pl darshan-gen-cc.pl darshan-gen-cxx.pl darshan-gen-fortran.pl darshan-config share/craype-1.x/darshan-module share/craype-2.x/darshan-module lib/pkgconfig/darshan-runtime.pc"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
......@@ -5048,6 +5048,7 @@ do
"darshan-gen-fortran.pl") CONFIG_FILES="$CONFIG_FILES darshan-gen-fortran.pl" ;;
"darshan-config") CONFIG_FILES="$CONFIG_FILES darshan-config" ;;
"share/craype-1.x/darshan-module") CONFIG_FILES="$CONFIG_FILES share/craype-1.x/darshan-module" ;;
"share/craype-2.x/darshan-module") CONFIG_FILES="$CONFIG_FILES share/craype-2.x/darshan-module" ;;
"lib/pkgconfig/darshan-runtime.pc") CONFIG_FILES="$CONFIG_FILES lib/pkgconfig/darshan-runtime.pc" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
......
......@@ -303,5 +303,6 @@ darshan-gen-cxx.pl
darshan-gen-fortran.pl
darshan-config
share/craype-1.x/darshan-module
share/craype-2.x/darshan-module
lib/pkgconfig/darshan-runtime.pc
)
#%Module
#
# Module darshan
#
if { [ info exists env(PE_ENV) ] } {
set PRGENV $env(PE_ENV)
} else {
set PRGENV "GNU"
}
set PREFIX @prefix@
#PE_PKGCONFIG_LIBS contain a list of all pc files that apply to all supported languages
prepend-path PE_PKGCONFIG_LIBS darshan-runtime
prepend-path PKG_CONFIG_PATH $PREFIX/lib/pkgconfig
prepend-path LD_LIBRARY_PATH $PREFIX/lib
prepend-path PATH $PREFIX/bin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment