This is best build in a clean chroot with devtools as currently fails to build if Java JDK is installed; at first sight didn't found a flag to disable Java/JNI
Search Criteria
Package Details: simgrid 4.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/simgrid.git (read-only, click to copy) |
---|---|
Package Base: | simgrid |
Description: | Scientific instrument to study the behavior of large-scale distributed systems such as Grids, Clouds, HPC or P2P systems |
Upstream URL: | https://framagit.org/simgrid/simgrid |
Keywords: | distributed simulation systems |
Licenses: | LGPL-2.1-only |
Submitter: | javsalgar |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 5 |
Popularity: | 0.36 |
First Submitted: | 2015-07-21 09:40 (UTC) |
Last Updated: | 2025-07-28 21:07 (UTC) |
Dependencies (15)
- boost-libs
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-eacAUR)
- graphviz
- perl (perl-gitAUR)
- python (python37AUR)
- sh (dashbinshAUR, zshbinshAUR, bash-devel-gitAUR, bash-gitAUR, bash)
- boost (boost-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- doxygen (doxygen-gitAUR) (make)
- eigen (eigen-gitAUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc-fortran-snapshotAUR) (make)
- nlohmann-json (nlohmann-json-gitAUR) (make)
- pybind11 (pybind11-gitAUR) (make)
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR, python-numpy-mkl-binAUR) (make)
Required by (0)
Sources (1)
FabioLolix commented on 2025-07-28 21:11 (UTC)
elrod commented on 2025-07-26 18:09 (UTC) (edited on 2025-07-26 18:11 (UTC) by elrod)
Hi Fabio,
The following PKGBUILD should work for SimGrid 4.0:
pkgname=simgrid
pkgver=4.0
pkgrel=1
pkgdesc="Scientific instrument to study the behavior of large-scale distributed systems such as Grids, Clouds, HPC or P2P systems"
arch=( x86_64 i686)
url="https://simgrid.org/"
license=(LGPL-2.1-only)
source=("https://framagit.org/simgrid/simgrid/-/archive/v${pkgver}/simgrid-v${pkgver}.tar.gz")
depends=(graphviz python gcc-libs boost-libs perl libevent glibc)
makedepends=(cmake boost eigen doxygen pybind11 gcc-fortran)
sha256sums=('6a4958f7b3bfd347a1bddf0d739c0b394f63570a183921ff69ea3dfef04d7e04')
build() {
local _flags=(
-Denable_compile_optimizations=ON
-Denable_lto=ON
-Denable_smpi=ON
)
cmake -B build -S "simgrid-v${pkgver}" -Wno-dev \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
"${_flags[@]}"
cmake --build build
}
#check() {
# ctest --test-dir build --output-on-failure
#}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
FabioLolix commented on 2024-11-13 19:19 (UTC)
@ewen-lbh
- before updating here I have successfully builded the package with both makepkg and devtools
- post the full log somewhere (not here in the comments) or send it directly to me []
- pod2man is part of the perl package so you may have some other issue
gwennlbh commented on 2024-11-12 07:55 (UTC)
a build dep pod2man is missing
mpoquet commented on 2023-12-26 17:42 (UTC)
Hi. I disown this AUR package as I lack the time and the motivation to maintain it correctly. I'll continue to keep SimGrid up-to-date as a Nix package on Nixpkgs and on NUR-Kapack.
MarsSeed commented on 2023-07-30 01:27 (UTC)
Documentation building is also enabled, but cannot be done due to:
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
MarsSeed commented on 2023-07-30 01:25 (UTC)
Also pybind11 is enabled but not a dependency:
-- Could NOT find pybind11 (missing: pybind11_DIR)
-- Pybind11 version:
MarsSeed commented on 2023-07-30 01:24 (UTC)
eigen3 is enabled in build but it is not declared as dependency. See message output during configure:
-- Could NOT find Eigen3 (missing: Eigen3_DIR)
-- Disabling model BMF because Eigen3 was not found. If it's installed, use EIGEN3_HINT to hint cmake about the location of Eigen3Config.cmake
mpoquet commented on 2020-12-11 13:38 (UTC) (edited on 2020-12-11 13:39 (UTC) by mpoquet)
SimGrid-3.25 does not build with CMake > 3.19.
I'm waiting for the next SimGrid release to update this package.
In the meantime, you can install a more recent SimGrid version with a script similar to the following:
git clone https://framagit.org/simgrid/simgrid.git /tmp/simgrid
cd /tmp/simgrid
git checkout 3214d6ae587b8c84d0f6993d13df1ffcd5e67b2e
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-Denable_compile_optimizations=ON \
-Denable_documentation=OFF \
-Denable_lto=ON \
-Denable_smpi=ON
make -j $(nproc)
sudo make install
bobi commented on 2020-02-25 09:18 (UTC) (edited on 2020-02-26 08:43 (UTC) by bobi)
Hi, I see you added make as a makedepend; you should not, as stated there: https://wiki.archlinux.org/index.php/PKGBUILD#makedepends
“The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.”
Pinned Comments
FabioLolix commented on 2025-07-28 21:11 (UTC)
This is best build in a clean chroot with devtools as currently fails to build if Java JDK is installed; at first sight didn't found a flag to disable Java/JNI