From 82fc20bd95e21b199c50f8fa12dd142c5d42025d Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 11 Aug 2026 14:20:35 -0300 Subject: [PATCH] ports: add libgomp package --- host-recipes/libgomp | 17 +++++++++++++++++ recipes/libgomp | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 host-recipes/libgomp create mode 100644 recipes/libgomp diff --git a/host-recipes/libgomp b/host-recipes/libgomp new file mode 100644 index 00000000..e76b69e7 --- /dev/null +++ b/host-recipes/libgomp @@ -0,0 +1,17 @@ +name=libgomp +revision=1 +from_source=gcc +imagedeps="build-essential" +hostdeps="automake autoconf xbinutils xgcc" +clean_workdirs=no +deps="mlibc" + +build() { + cd ${build_dir}/host-builds/xgcc + make all-target-libgomp -j${parallelism} +} + +package(){ + cd ${build_dir}/host-builds/xgcc + make DESTDIR="${dest_dir}" install-target-libgomp +} diff --git a/recipes/libgomp b/recipes/libgomp new file mode 100644 index 00000000..9bfbf817 --- /dev/null +++ b/recipes/libgomp @@ -0,0 +1,16 @@ +name=libgomp +revision=1 +from_source=gcc +imagedeps="build-essential" +hostrundeps="xgcc xbinutils libstdc++-v3" +deps="gcc" + +build() { + cd ${build_dir}/builds/gcc + make all-target-libgomp -j${parallelism} +} + +package() { + cd ${build_dir}/builds/gcc + make DESTDIR="${dest_dir}" install-target-libgomp +}