diff --git a/results/SALOMON-not_installed.txt b/results/SALOMON-not_installed.txt index e69de29b..5fdbf37c 100644 --- a/results/SALOMON-not_installed.txt +++ b/results/SALOMON-not_installed.txt @@ -0,0 +1,8 @@ +not installed ... libX11/1.6.3 +not installed ... Perl/5.24.0-GCC-4.9.3-2.25-bare +not installed ... Tk/8.6.4 +not installed ... xcb-util-image/0.4.0 +not installed ... xcb-util-keysyms/0.4.0 +not installed ... xcb-util-renderutil/0.3.9 +not installed ... xcb-util-wm/0.4.1 +not installed ... xcb-util/0.4.0 diff --git a/compare.sh b/test-install similarity index 51% rename from compare.sh rename to test-install index a06347ef..7c36cd5c 100755 --- a/compare.sh +++ b/test-install @@ -12,19 +12,19 @@ fi printf "Prepare data for analyse ...\n" -ml --show_hidden -t av 2>&1 > /dev/null| awk '{print $1 }' | grep -v "/apps/*" > ml_av +ml --show_hidden -t av 2>&1 > /dev/null| awk '{print $1 }' | grep -v "/apps/*" > /apps/easybuild/easyconfigs-it4i/ml_av if [ "$1" = "not" ]; then - find /apps/easybuild/easyconfigs-it4i/ -type f -name "*.eb" | grep "_not_installed/*" | cut -d '/' -f 7,8 | sed 's/.eb//' > eb-it4i_tmp - echo -n "" >> "results/$NAME-installed_from_not_installed.txt" - echo -n "" >> "results/$NAME-warning-not.txt" + find /apps/easybuild/easyconfigs-it4i/ -type f -name "*.eb" | grep "_not_installed/*" | cut -d '/' -f 7,8 | sed 's/.eb//' > /apps/easybuild/easyconfigs-it4i/eb-it4i_tmp + echo -n "" >> "/apps/easybuild/easyconfigs-it4i/results/$NAME-installed_from_not_installed.txt" + echo -n "" >> "/apps/easybuild/easyconfigs-it4i/results/$NAME-warning-not.txt" else - find /apps/easybuild/easyconfigs-it4i/ -type f -name "*.eb" | grep -v "_not_installed/*" | cut -d '/' -f 6,7 | sed 's/.eb//' > eb-it4i_tmp - echo -n "" >> "results/$NAME-not_installed.txt" - echo -n "" > "results/$NAME-warning.txt" + find /apps/easybuild/easyconfigs-it4i/ -type f -name "*.eb" | grep -v "_not_installed/*" | cut -d '/' -f 6,7 | sed 's/.eb//' > /apps/easybuild/easyconfigs-it4i/eb-it4i_tmp + echo -n "" >> "/apps/easybuild/easyconfigs-it4i/results/$NAME-not_installed.txt" + echo -n "" > "/apps/easybuild/easyconfigs-it4i/results/$NAME-warning.txt" fi -while read i; do a=$(echo $i | cut -d '/' -f 1); b=$(echo $i | sed -rn "s/$a\/$a[-]+(.*)/\1/p"); echo "$a/$b" ;done < <(cat eb-it4i_tmp) > eb-it4i +while read i; do a=$(echo $i | cut -d '/' -f 1); b=$(echo $i | sed -rn "s/$a\/$a[-]+(.*)/\1/p"); echo "$a/$b" ;done < <(cat /apps/easybuild/easyconfigs-it4i/eb-it4i_tmp) > /apps/easybuild/easyconfigs-it4i/eb-it4i INSTALL="FALSE" format="%-80s %30s\n" @@ -43,7 +43,7 @@ while read x; do INSTALL="OK" break fi - done < <(cat ml_av) + done < <(cat /apps/easybuild/easyconfigs-it4i/ml_av) if [ ! "$INSTALL" = "OK" ]; then if [ -d "/apps/all/$x" ]; then @@ -54,25 +54,25 @@ while read x; do if [ "$INSTALL" = "OK" ]; then printf "$format" "$x" "${grn}installed${end}" if [ "$1" = "not" ]; then - echo "installed from _not_installed ... $x" >> "results/$NAME-installed_from_not_installed.txt" + echo "installed from _not_installed ... $x" >> "/apps/easybuild/easyconfigs-it4i/results/$NAME-installed_from_not_installed.txt" fi INSTALL="FALSE" elif [ "$INSTALL" = "WARNING" ]; then printf "$format" "$x" "${yel}warning${end}" if [ "$1" = "not" ]; then - echo "warning ... $x" >> "results/$NAME-warning-not.txt" + echo "warning ... $x" >> "/apps/easybuild/easyconfigs-it4i/results/$NAME-warning-not.txt" else - echo "warning ... $x" >> "results/$NAME-warning.txt" + echo "warning ... $x" >> "/apps/easybuild/easyconfigs-it4i/results/$NAME-warning.txt" fi INSTALL="FALSE" else printf "$format" "$x" "${red}not installed${end}" if [ ! "$1" = "not" ]; then - echo "not installed ... $x" >> "results/$NAME-not_installed.txt" + echo "not installed ... $x" >> "/apps/easybuild/easyconfigs-it4i/results/$NAME-not_installed.txt" fi INSTALL="FALSE" fi -done < <(cat eb-it4i) +done < <(cat /apps/easybuild/easyconfigs-it4i/eb-it4i) -rm eb-it4i ml_av eb-it4i_tmp +rm /apps/easybuild/easyconfigs-it4i/eb-it4i /apps/easybuild/easyconfigs-it4i/ml_av /apps/easybuild/easyconfigs-it4i/eb-it4i_tmp diff --git a/v/VTune/VTune-2017_update2.eb b/v/VTune/VTune-2017_update2.eb index 852db06f..642c913c 100644 --- a/v/VTune/VTune-2017_update2.eb +++ b/v/VTune/VTune-2017_update2.eb @@ -1,16 +1,35 @@ name = 'VTune' version = '2017_update2' +# https://gitlab.it4i.cz/it4i-admins/EasyBuild/issues/50 !!! + + homepage = 'http://software.intel.com/en-us/intel-vtune-amplifier-xe' description = """Intel VTune Amplifier XE is the premier performance profiler for C, C++, C#, Fortran, Assembly and Java.""" checksums = ['1ef91898e107a1da015305def80091e4'] -toolchain = {'name': 'dummy', 'version': 'dummy'} +toolchain = {'name': 'dummy', 'version': ''} sources = ['vtune_amplifier_xe_%(version)s.tar.gz'] -license_file = HOME + '/licenses/intel/license.lic' +dontcreateinstalldir = 'True' + +# license file +import os +license_file = os.path.join(os.getenv('HOME'), "licenses", "intel", "license.lic") + +sanity_check_paths = { + 'files': [], + 'dirs': ['vtune_amplifier_xe_2017.2.0.499904'], +} + +# Do necessary post-install steps to build VTune kernel modules +postinstallcmds = [ + 'mkdir %(installdir)s/modules', + 'cd %(installdir)s/vtune_amplifier_xe/sepdk/src/ && ' + './build-driver --install-dir=%(installdir)s/modules --non-interactive', +] moduleclass = 'tools'