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 +}