- Download latest release.
- Extract the downloaded archive with:
sudo tar xzvf mk-version.tar.gz -C /
- Add the following lines to your
.bashrc
file (or equivalent):
# mk.
export mkPrefix=/u/sw
source ${mkPrefix}/etc/profile
module load gcc-glibc
module load package_name
- Restart the shell.
Use module avail
or module spider
to check the available packages.
bootstrap/bootstrap /u/sw
export mkPrefix=/u/sw
cd toolchain/gcc-glibc
/u/sw/sbin/mkpkg --options=9 --jobs=<N> [-v] .
source /u/sw/etc/bash.bashrc
module load gcc-glibc/9
All base packages together:
cd base
make install mkFlags=<flags>
One single base package:
cd base/package
/u/sw/sbin/mkpkg --jobs=<N> [-v] .
source /u/sw/etc/bash.bashrc
module load gcc-glibc/9
All packages together:
cd pkgs
make install mkFlags=<flags>
One single package:
cd pkgs/package
/u/sw/sbin/mkpkg --jobs=<N> [-v] .