pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gcc10-libjit
Module Name: pkgsrc
Committed By: wiz
Date: Thu Apr 6 22:09:59 UTC 2023
Added Files:
pkgsrc/lang/gcc10-libjit: DESCR Makefile PLIST buildlink3.mk
Log Message:
lang/gcc10-libjit: import gcc10-libjit-10.4.0
The GNU Compiler Collection (GCC) includes front ends for C, C++,
Objective-C, Fortran, and Go.
This package contains libgccjit, an API for embedding GCC inside
programs and libraries.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gcc10-libjit/DESCR \
pkgsrc/lang/gcc10-libjit/Makefile pkgsrc/lang/gcc10-libjit/PLIST \
pkgsrc/lang/gcc10-libjit/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/lang/gcc10-libjit/DESCR
diff -u /dev/null pkgsrc/lang/gcc10-libjit/DESCR:1.1
--- /dev/null Thu Apr 6 22:09:59 2023
+++ pkgsrc/lang/gcc10-libjit/DESCR Thu Apr 6 22:09:59 2023
@@ -0,0 +1,5 @@
+The GNU Compiler Collection (GCC) includes front ends for C, C++,
+Objective-C, Fortran, and Go.
+
+This package contains libgccjit, an API for embedding GCC inside
+programs and libraries.
Index: pkgsrc/lang/gcc10-libjit/Makefile
diff -u /dev/null pkgsrc/lang/gcc10-libjit/Makefile:1.1
--- /dev/null Thu Apr 6 22:09:59 2023
+++ pkgsrc/lang/gcc10-libjit/Makefile Thu Apr 6 22:09:59 2023
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2023/04/06 22:09:59 wiz Exp $
+
+.include "../../lang/gcc10/Makefile.common"
+
+PKGNAME= ${GCC_PKGNAME}-libjit-${GCC10_DIST_VERSION}
+COMMENT= GNU Compiler Collection 10 (gcclibjit library)
+
+# /usr/bin/ld: ./../intl/libintl.a(bindtextdom.o): relocation R_X86_64_32 against symbol `libintl_nl_default_dirname' can not be used when making a shared object; recompile with -fPIC
+CFLAGS+= -fPIC
+
+INSTALLATION_DIRS= lib
+
+CONFIGURE_ARGS+= --enable-languages=jit
+CONFIGURE_ARGS+= --without-static-standard-libraries
+CONFIGURE_ARGS+= --disable-bootstrap
+CONFIGURE_ARGS+= --enable-host-shared
+
+MAKE_FLAGS+= BOOT_CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= BOOT_CXXFLAGS=${CXXFLAGS:Q}
+MAKE_FLAGS+= BOOT_LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+= LDFLAGS_FOR_TARGET=${LDFLAGS:Q}
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+
+BUILD_TARGET= all-gcc
+
+INSTALL_DIRS= ${WRKSRC}/${OBJDIR}/gcc
+INSTALL_TARGET= jit.install-common jit.install-info
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/gcc10-libjit/PLIST
diff -u /dev/null pkgsrc/lang/gcc10-libjit/PLIST:1.1
--- /dev/null Thu Apr 6 22:09:59 2023
+++ pkgsrc/lang/gcc10-libjit/PLIST Thu Apr 6 22:09:59 2023
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2023/04/06 22:09:59 wiz Exp $
+gcc10/include/libgccjit++.h
+gcc10/include/libgccjit.h
+gcc10/info/libgccjit.info
+gcc10/lib/libgccjit.so
+gcc10/lib/libgccjit.so.0
+gcc10/lib/libgccjit.so.0.0.1
Index: pkgsrc/lang/gcc10-libjit/buildlink3.mk
diff -u /dev/null pkgsrc/lang/gcc10-libjit/buildlink3.mk:1.1
--- /dev/null Thu Apr 6 22:09:59 2023
+++ pkgsrc/lang/gcc10-libjit/buildlink3.mk Thu Apr 6 22:09:59 2023
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/04/06 22:09:59 wiz Exp $
+
+BUILDLINK_TREE+= gcc10-libjit
+
+.if !defined(GCC10_LIBJIT_BUILDLINK3_MK)
+GCC10_LIBJIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gcc10-libjit+= gcc10-libjit>=10.4.0
+BUILDLINK_PKGSRCDIR.gcc10-libjit?= ../../lang/gcc10-libjit
+
+BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc10-libjit}/gcc10
+BUILDLINK_FNAME_TRANSFORM.gcc10-libjit+= -e s,gcc10/lib,lib,
+BUILDLINK_FNAME_TRANSFORM.gcc10-libjit+= -e s,gcc10/include,include,
+.endif # GCC10_LIBJIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gcc10-libjit
Home |
Main Index |
Thread Index |
Old Index