pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gcc12-libjit
Module Name: pkgsrc
Committed By: wiz
Date: Fri Apr 7 06:48:58 UTC 2023
Added Files:
pkgsrc/lang/gcc12-libjit: DESCR Makefile PLIST buildlink3.mk
Log Message:
lang/gcc12-libjit: import gcc12-libjit-12.2.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/gcc12-libjit/DESCR \
pkgsrc/lang/gcc12-libjit/Makefile pkgsrc/lang/gcc12-libjit/PLIST \
pkgsrc/lang/gcc12-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/gcc12-libjit/DESCR
diff -u /dev/null pkgsrc/lang/gcc12-libjit/DESCR:1.1
--- /dev/null Fri Apr 7 06:48:58 2023
+++ pkgsrc/lang/gcc12-libjit/DESCR Fri Apr 7 06:48:58 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/gcc12-libjit/Makefile
diff -u /dev/null pkgsrc/lang/gcc12-libjit/Makefile:1.1
--- /dev/null Fri Apr 7 06:48:58 2023
+++ pkgsrc/lang/gcc12-libjit/Makefile Fri Apr 7 06:48:58 2023
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2023/04/07 06:48:58 wiz Exp $
+
+.include "../../lang/gcc12/Makefile.common"
+
+PKGNAME= ${GCC_PKGNAME}-libjit-${GCC12_DIST_VERSION}
+COMMENT= GNU Compiler Collection 12 (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/gcc12-libjit/PLIST
diff -u /dev/null pkgsrc/lang/gcc12-libjit/PLIST:1.1
--- /dev/null Fri Apr 7 06:48:58 2023
+++ pkgsrc/lang/gcc12-libjit/PLIST Fri Apr 7 06:48:58 2023
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2023/04/07 06:48:58 wiz Exp $
+gcc12/include/libgccjit++.h
+gcc12/include/libgccjit.h
+gcc12/info/libgccjit.info
+gcc12/lib/libgccjit.so
+gcc12/lib/libgccjit.so.0
+gcc12/lib/libgccjit.so.0.0.1
Index: pkgsrc/lang/gcc12-libjit/buildlink3.mk
diff -u /dev/null pkgsrc/lang/gcc12-libjit/buildlink3.mk:1.1
--- /dev/null Fri Apr 7 06:48:58 2023
+++ pkgsrc/lang/gcc12-libjit/buildlink3.mk Fri Apr 7 06:48:58 2023
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/04/07 06:48:58 wiz Exp $
+
+BUILDLINK_TREE+= gcc12-libjit
+
+.if !defined(GCC12_LIBJIT_BUILDLINK3_MK)
+GCC12_LIBJIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gcc12-libjit+= gcc12-libjit>=12.2.0
+BUILDLINK_PKGSRCDIR.gcc12-libjit?= ../../lang/gcc12-libjit
+
+BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc12-libjit}/gcc12
+BUILDLINK_FNAME_TRANSFORM.gcc12-libjit+= -e s,gcc12/lib,lib,
+BUILDLINK_FNAME_TRANSFORM.gcc12-libjit+= -e s,gcc12/include,include,
+.endif # GCC12_LIBJIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gcc12-libjit
Home |
Main Index |
Thread Index |
Old Index