pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc13-libjit



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed May  3 20:04:10 UTC 2023

Added Files:
        pkgsrc/lang/gcc13-libjit: DESCR Makefile PLIST buildlink3.mk

Log Message:
lang/gcc13-libjit: import gcc13-libjit-13.1.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/gcc13-libjit/DESCR \
    pkgsrc/lang/gcc13-libjit/Makefile pkgsrc/lang/gcc13-libjit/PLIST \
    pkgsrc/lang/gcc13-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/gcc13-libjit/DESCR
diff -u /dev/null pkgsrc/lang/gcc13-libjit/DESCR:1.1
--- /dev/null   Wed May  3 20:04:10 2023
+++ pkgsrc/lang/gcc13-libjit/DESCR      Wed May  3 20:04:10 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/gcc13-libjit/Makefile
diff -u /dev/null pkgsrc/lang/gcc13-libjit/Makefile:1.1
--- /dev/null   Wed May  3 20:04:10 2023
+++ pkgsrc/lang/gcc13-libjit/Makefile   Wed May  3 20:04:10 2023
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2023/05/03 20:04:10 wiz Exp $
+
+.include "../../lang/gcc13/Makefile.common"
+
+PKGNAME=       ${GCC_PKGNAME}-libjit-${GCC13_DIST_VERSION}
+COMMENT=       GNU Compiler Collection 13 (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/gcc13-libjit/PLIST
diff -u /dev/null pkgsrc/lang/gcc13-libjit/PLIST:1.1
--- /dev/null   Wed May  3 20:04:10 2023
+++ pkgsrc/lang/gcc13-libjit/PLIST      Wed May  3 20:04:10 2023
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/03 20:04:10 wiz Exp $
+gcc13/include/libgccjit++.h
+gcc13/include/libgccjit.h
+gcc13/info/libgccjit.info
+gcc13/lib/libgccjit.so
+gcc13/lib/libgccjit.so.0
+gcc13/lib/libgccjit.so.0.0.1
Index: pkgsrc/lang/gcc13-libjit/buildlink3.mk
diff -u /dev/null pkgsrc/lang/gcc13-libjit/buildlink3.mk:1.1
--- /dev/null   Wed May  3 20:04:10 2023
+++ pkgsrc/lang/gcc13-libjit/buildlink3.mk      Wed May  3 20:04:10 2023
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/05/03 20:04:10 wiz Exp $
+
+BUILDLINK_TREE+=       gcc13-libjit
+
+.if !defined(GCC13_LIBJIT_BUILDLINK3_MK)
+GCC13_LIBJIT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gcc13-libjit+=   gcc13-libjit>=13.1.0
+BUILDLINK_PKGSRCDIR.gcc13-libjit?=     ../../lang/gcc13-libjit
+
+BUILDLINK_PASSTHRU_DIRS+=                      ${BUILDLINK_PREFIX.gcc13-libjit}/gcc13
+BUILDLINK_FNAME_TRANSFORM.gcc13-libjit+=       -e s,gcc13/lib,lib,
+BUILDLINK_FNAME_TRANSFORM.gcc13-libjit+=       -e s,gcc13/include,include,
+.endif # GCC13_LIBJIT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -gcc13-libjit



Home | Main Index | Thread Index | Old Index