<commit_before>#!/bin/bash
module add ci
module add cmake

make test
python lapack_testing.py
echo "Making modulefile"
mkdir -p modules
(
cat <<MODULE_FILE
#%Module1.0
## $NAME modulefile
##
proc ModulesHelp { } {
  puts stderr "       This module does nothing but alert the user"
  puts stderr "       that the [module-info name] module is not available"
}

module-whatis   "$NAME $VERSION."
setenv       LAPACK_VERSION       $VERSION
setenv       LAPACK_DIR           /apprepo/$::env(SITE)/$::env(OS)/$::env(ARCH)/$NAME/$VERSION
prepend-path LD_LIBRARY_PATH   $::env(LAPACK_DIR)/lib
prepend-path GCC_INCLUDE_DIR   $::env(LAPACK_DIR)/include
MODULE_FILE
) > modules/$VERSION

mkdir -p $LIBRARIES_MODULES/$NAME
cp modules/$VERSION $LIBRARIES_MODULES/$NAME
module avail
module add lapack<commit_msg>Forgot the - subdirectory<commit_after>#!/bin/bash
module add ci
module add cmake
cd $WORKSPACE/$NAME-$VERSION
make test
python lapack_testing.py
echo "Making modulefile"
mkdir -p modules
(
cat <<MODULE_FILE
#%Module1.0
## $NAME modulefile
##
proc ModulesHelp { } {
  puts stderr "       This module does nothing but alert the user"
  puts stderr "       that the [module-info name] module is not available"
}

module-whatis   "$NAME $VERSION."
setenv       LAPACK_VERSION       $VERSION
setenv       LAPACK_DIR           /apprepo/$::env(SITE)/$::env(OS)/$::env(ARCH)/$NAME/$VERSION
prepend-path LD_LIBRARY_PATH   $::env(LAPACK_DIR)/lib
prepend-path GCC_INCLUDE_DIR   $::env(LAPACK_DIR)/include
MODULE_FILE
) > modules/$VERSION

mkdir -p $LIBRARIES_MODULES/$NAME
cp modules/$VERSION $LIBRARIES_MODULES/$NAME
module avail
module add lapack
{'fraction_non_alphanumeric': 0.1136919315403423, 'fraction_numerical': 0.0024449877750611247, 'mean_word_length': 4.052469135802469, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4773165', 'n_tokens_mistral': 573, 'n_tokens_neox': 556, 'n_words': 147}