openmx: optimize cpu usage.

This commit is contained in:
Sukanka 2022-05-28 22:45:21 +08:00
parent fb70fa7924
commit 703ec2f654

View file

@ -46,6 +46,8 @@ source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('65c50ce09f9c006b41b7311ec05eba3ae77926d84fb44e3905905208404826ed')
build() {
# restrict the usage of cpu. Usage of RAM is OK.
export MAKE="make -j5"
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}