<commit_before>#!/bin/bash

XDK_HOME=`pwd`

RED='\e[0;31m'
GREEN='\e[0;32m'
RESET='\e[0m'

width=50

function build_dir {
printf "%-$width.${width}s" "[BUILD] library ($1) ... "
cd ${XDK_HOME}/$2 ; make clean &>> ${XDK_HOME}/build.log; make  &>> ${XDK_HOME}/build.log
[ $? -eq 0 ] && echo -e " ${GREEN}OK${RESET}" || echo -e " ${RED}FAILED${RESET}"
}

build_dir "Kernel Module" kernel/modules/parasite
build_dir "libcommon" lib/libcommon
build_dir "libcomponent" lib/libcomponent
build_dir "libexo" lib/libexo
build_dir "AHCI device driver" drivers/ahci
build_dir "Base example component" examples/components/base-example
build_dir "Dummy block device component" examples/components/block-device
<commit_msg>added nvme driver to base build script<commit_after>#!/bin/bash

XDK_HOME=`pwd`

RED='\e[0;31m'
GREEN='\e[0;32m'
RESET='\e[0m'

width=50

function build_dir {
printf "%-$width.${width}s" "[BUILD] library ($1) ... "
cd ${XDK_HOME}/$2 ; make clean &>> ${XDK_HOME}/build.log; make  &>> ${XDK_HOME}/build.log
[ $? -eq 0 ] && echo -e " ${GREEN}OK${RESET}" || echo -e " ${RED}FAILED${RESET}"
}

build_dir "Kernel Module" kernel/modules/parasite
build_dir "libcommon" lib/libcommon
build_dir "libcomponent" lib/libcomponent
build_dir "libexo" lib/libexo
build_dir "AHCI device driver" drivers/ahci
build_dir "NVME-SSD device driver" drivers/nvme-ssd
build_dir "Base example component" examples/components/base-example
build_dir "Dummy block device component" examples/components/block-device

{'fraction_non_alphanumeric': 0.1707970529135968, 'fraction_numerical': 0.016075016744809108, 'mean_word_length': 5.524017467248909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5635801', 'n_tokens_mistral': 578, 'n_tokens_neox': 557, 'n_words': 125}