pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ghdl-dev: initial commit
Module Name: pkgsrc-wip
Committed By: mayuresh <mayuresh%acm.org@localhost>
Pushed By: mayuresh
Date: Mon Nov 18 17:12:23 2024 +0530
Changeset: 6ddcb4fb171ca9549cee25b7ca17b2c708073d2e
Added Files:
ghdl-dev/COMMIT_MSG
ghdl-dev/DESCR
ghdl-dev/Makefile
ghdl-dev/PLIST
ghdl-dev/distinfo
ghdl-dev/patches/patch-configure
ghdl-dev/patches/patch-src_ortho_mcode_memsegs__c.c
Log Message:
ghdl-dev: initial commit
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6ddcb4fb171ca9549cee25b7ca17b2c708073d2e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ghdl-dev/COMMIT_MSG | 7 ++
ghdl-dev/DESCR | 11 ++
ghdl-dev/Makefile | 29 ++++++
ghdl-dev/PLIST | 112 +++++++++++++++++++++
ghdl-dev/distinfo | 7 ++
ghdl-dev/patches/patch-configure | 14 +++
.../patches/patch-src_ortho_mcode_memsegs__c.c | 15 +++
7 files changed, 195 insertions(+)
diffs:
diff --git a/ghdl-dev/COMMIT_MSG b/ghdl-dev/COMMIT_MSG
new file mode 100644
index 0000000000..5f52d17203
--- /dev/null
+++ b/ghdl-dev/COMMIT_MSG
@@ -0,0 +1,7 @@
+cad/ghdl: Package to track dev version of ghdl
+
+Packaged in wip by Mayuresh <mayuresh%acm.org@localhost>
+
+This package is created to build dev version of ghdl for those interested in
+newer features and bug fixes that are newer than the last released version.
+This package uses mcode backend which is supposed handle large designs better.
diff --git a/ghdl-dev/DESCR b/ghdl-dev/DESCR
new file mode 100644
index 0000000000..33cde2a5b1
--- /dev/null
+++ b/ghdl-dev/DESCR
@@ -0,0 +1,11 @@
+GHDL is a shorthand for G Hardware Design Language (currently, G has no
+meaning). It is a VHDL analyzer, compiler, simulator and (experimental)
+synthesizer that can process (nearly) any VHDL design. Unlike some other
+simulators, GHDL is a compiler: it directly translates a VHDL file to machine
+code, without using an intermediary language such as C or C++. Therefore, the
+compiled code should be faster and the analysis time should be shorter than
+with a compiler using an intermediary language.
+
+This package is created to build dev version of ghdl for those interested in
+newer features and bug fixes that are newer than the last released version.
+This package uses mcode backend which is supposed handle large designs better.
diff --git a/ghdl-dev/Makefile b/ghdl-dev/Makefile
new file mode 100644
index 0000000000..4469b7c12a
--- /dev/null
+++ b/ghdl-dev/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+GITHUB_PROJECT= ghdl
+GITHUB_TAG= f1de234f5e77eb8fb765da945a0bf34ec4abb864
+DISTNAME= f1de234f5e77eb8fb765da945a0bf34ec4abb864
+PKGNAME= ${GITHUB_PROJECT}-dev-5.0.0.9655
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ghdl/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ghdl/ghdl/
+COMMENT= Open-source simulator/compiler/analyzer for VHDL
+LICENSE= gnu-gpl-v2
+
+HAS_CONFIGURE= yes
+USE_TOOLS+= gmake
+TOOL_DEPENDS+= gcc10-aux-[0-9]*:../../lang/gcc10-aux
+REPLACE_BASH= scripts/vendors/*.sh
+
+RELRO_SUPPORTED= no
+MKPIE_SUPPORTED= no
+
+CONFIGURE_ENV+= GNATMAKE=${PREFIX}/gcc10-aux/bin/gnatmake
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --enable-synth
+CONFIGURE_ARGS+= --enable-libghdl
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ghdl-dev/PLIST b/ghdl-dev/PLIST
new file mode 100644
index 0000000000..f891d4eca7
--- /dev/null
+++ b/ghdl-dev/PLIST
@@ -0,0 +1,112 @@
+@comment $NetBSD$
+bin/ghdl
+bin/ghwdump
+include/ghdl/libghw.h
+include/ghdl/synth.h
+include/ghdl/synth_gates.h
+include/ghdl/vhpi_user.h
+include/ghdl/vpi_user.h
+lib/ghdl/ansi_color.sh
+lib/ghdl/ieee/v08/ieee-obj08.cf
+lib/ghdl/ieee/v87/ieee-obj87.cf
+lib/ghdl/ieee/v93/ieee-obj93.cf
+lib/ghdl/src/ieee/math_complex-body.vhdl
+lib/ghdl/src/ieee/math_complex.vhdl
+lib/ghdl/src/ieee/math_real-body.vhdl
+lib/ghdl/src/ieee/math_real.vhdl
+lib/ghdl/src/ieee/v87/numeric_bit-body.vhdl
+lib/ghdl/src/ieee/v87/numeric_bit.vhdl
+lib/ghdl/src/ieee/v87/numeric_std-body.vhdl
+lib/ghdl/src/ieee/v87/numeric_std.vhdl
+lib/ghdl/src/ieee/v87/std_logic_1164-body.vhdl
+lib/ghdl/src/ieee/v87/std_logic_1164.vhdl
+lib/ghdl/src/ieee/v93/numeric_bit-body.vhdl
+lib/ghdl/src/ieee/v93/numeric_bit.vhdl
+lib/ghdl/src/ieee/v93/numeric_std-body.vhdl
+lib/ghdl/src/ieee/v93/numeric_std.vhdl
+lib/ghdl/src/ieee/v93/std_logic_1164-body.vhdl
+lib/ghdl/src/ieee/v93/std_logic_1164.vhdl
+lib/ghdl/src/ieee2008/LICENSE
+lib/ghdl/src/ieee2008/fixed_float_types.vhdl
+lib/ghdl/src/ieee2008/fixed_generic_pkg-body.vhdl
+lib/ghdl/src/ieee2008/fixed_generic_pkg.vhdl
+lib/ghdl/src/ieee2008/fixed_pkg.vhdl
+lib/ghdl/src/ieee2008/float_generic_pkg-body.vhdl
+lib/ghdl/src/ieee2008/float_generic_pkg.vhdl
+lib/ghdl/src/ieee2008/float_pkg.vhdl
+lib/ghdl/src/ieee2008/ieee_bit_context.vhdl
+lib/ghdl/src/ieee2008/ieee_std_context.vhdl
+lib/ghdl/src/ieee2008/math_complex-body.vhdl
+lib/ghdl/src/ieee2008/math_complex.vhdl
+lib/ghdl/src/ieee2008/math_real-body.vhdl
+lib/ghdl/src/ieee2008/math_real.vhdl
+lib/ghdl/src/ieee2008/numeric_bit-body.vhdl
+lib/ghdl/src/ieee2008/numeric_bit.vhdl
+lib/ghdl/src/ieee2008/numeric_bit_unsigned-body.vhdl
+lib/ghdl/src/ieee2008/numeric_bit_unsigned.vhdl
+lib/ghdl/src/ieee2008/numeric_std-body.vhdl
+lib/ghdl/src/ieee2008/numeric_std.vhdl
+lib/ghdl/src/ieee2008/numeric_std_unsigned-body.vhdl
+lib/ghdl/src/ieee2008/numeric_std_unsigned.vhdl
+lib/ghdl/src/ieee2008/std_logic_1164-body.vhdl
+lib/ghdl/src/ieee2008/std_logic_1164.vhdl
+lib/ghdl/src/ieee2008/std_logic_textio.vhdl
+lib/ghdl/src/std/env-body.vhdl
+lib/ghdl/src/std/env.vhdl
+lib/ghdl/src/std/v08/standard.vhdl
+lib/ghdl/src/std/v08/textio-body.vhdl
+lib/ghdl/src/std/v08/textio.vhdl
+lib/ghdl/src/std/v87/standard.vhdl
+lib/ghdl/src/std/v87/textio-body.vhdl
+lib/ghdl/src/std/v87/textio.vhdl
+lib/ghdl/src/std/v93/standard.vhdl
+lib/ghdl/src/std/v93/textio-body.vhdl
+lib/ghdl/src/std/v93/textio.vhdl
+lib/ghdl/src/synopsys/std_logic_arith.vhdl
+lib/ghdl/src/synopsys/std_logic_misc-body.vhdl
+lib/ghdl/src/synopsys/std_logic_misc.vhdl
+lib/ghdl/src/synopsys/std_logic_signed.vhdl
+lib/ghdl/src/synopsys/std_logic_textio.vhdl
+lib/ghdl/src/synopsys/std_logic_unsigned.vhdl
+lib/ghdl/src/synopsys/v08/std_logic_misc-body.vhdl
+lib/ghdl/src/synopsys/v08/std_logic_misc.vhdl
+lib/ghdl/src/upf/upf-body.vhdl
+lib/ghdl/src/upf/upf.vhdl
+lib/ghdl/src/vital2000/memory_b.vhdl
+lib/ghdl/src/vital2000/memory_p.vhdl
+lib/ghdl/src/vital2000/prmtvs_b.vhdl
+lib/ghdl/src/vital2000/prmtvs_p.vhdl
+lib/ghdl/src/vital2000/timing_b.vhdl
+lib/ghdl/src/vital2000/timing_p.vhdl
+lib/ghdl/src/vital95/vital_primitives-body.vhdl
+lib/ghdl/src/vital95/vital_primitives.vhdl
+lib/ghdl/src/vital95/vital_timing-body.vhdl
+lib/ghdl/src/vital95/vital_timing.vhdl
+lib/ghdl/std/v08/std-obj08.cf
+lib/ghdl/std/v87/std-obj87.cf
+lib/ghdl/std/v93/std-obj93.cf
+lib/ghdl/vendors/README.md
+lib/ghdl/vendors/compile-altera.ps1
+lib/ghdl/vendors/compile-altera.sh
+lib/ghdl/vendors/compile-intel.ps1
+lib/ghdl/vendors/compile-intel.sh
+lib/ghdl/vendors/compile-lattice.ps1
+lib/ghdl/vendors/compile-lattice.sh
+lib/ghdl/vendors/compile-osvvm.ps1
+lib/ghdl/vendors/compile-osvvm.sh
+lib/ghdl/vendors/compile-uvvm.ps1
+lib/ghdl/vendors/compile-uvvm.sh
+lib/ghdl/vendors/compile-xilinx-ise.ps1
+lib/ghdl/vendors/compile-xilinx-ise.sh
+lib/ghdl/vendors/compile-xilinx-vivado.ps1
+lib/ghdl/vendors/compile-xilinx-vivado.sh
+lib/ghdl/vendors/config.psm1
+lib/ghdl/vendors/config.sh
+lib/ghdl/vendors/filter.analyze.sh
+lib/ghdl/vendors/shared.psm1
+lib/ghdl/vendors/shared.sh
+lib/libghdl-5_0_0_dev.so
+lib/libghdl.a
+lib/libghdl.link
+lib/libghdlvpi.so
+lib/libghw.so
diff --git a/ghdl-dev/distinfo b/ghdl-dev/distinfo
new file mode 100644
index 0000000000..21fcf3ddec
--- /dev/null
+++ b/ghdl-dev/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (ghdl/f1de234f5e77eb8fb765da945a0bf34ec4abb864-f1de234f5e77eb8fb765da945a0bf34ec4abb864.tar.gz) = 8805e151aa3f69bf17729df932dbee34e2cb7362b06bc36b4b3954b8f825ec7a
+SHA512 (ghdl/f1de234f5e77eb8fb765da945a0bf34ec4abb864-f1de234f5e77eb8fb765da945a0bf34ec4abb864.tar.gz) = 401da68b303ec2e0ee2418f4f92d2dd921fec398fd0eba3ba1aa9351c525321ceb6b251142ee666a35e25bf5cd685a9fd12ceb79996ce7bb07a1853db674cc67
+Size (ghdl/f1de234f5e77eb8fb765da945a0bf34ec4abb864-f1de234f5e77eb8fb765da945a0bf34ec4abb864.tar.gz) = 7798367 bytes
+SHA1 (patch-configure) = 70257b3cd6b59ec3076d64ba0eae127216f13e50
+SHA1 (patch-src_ortho_mcode_memsegs__c.c) = d52a68ade07780519dbeb72ae92933a703085853
diff --git a/ghdl-dev/patches/patch-configure b/ghdl-dev/patches/patch-configure
new file mode 100644
index 0000000000..f5d127bb03
--- /dev/null
+++ b/ghdl-dev/patches/patch-configure
@@ -0,0 +1,14 @@
+$NetBSD$
+
+* Support NetBSD for mcode backend.
+
+--- configure.orig 2024-11-17 09:54:17.000000000 +0000
++++ configure
+@@ -438,6 +438,7 @@ if test $backend = mcode; then
+ *mingw32*) ortho_flags="Flags_Windows${mcode64}" ;;
+ *linux*) ortho_flags="Flags_Linux${mcode64}" ;;
+ *openbsd*) ortho_flags="Flags_Macosx${mcode64}" ;;
++ *netbsd*) ortho_flags="Flags_Macosx${mcode64}" ;;
+ *) echo "Unsupported $build build for mcode"; exit 1;;
+ esac
+ echo "Generate ortho_code-x86-flags.ads"
diff --git a/ghdl-dev/patches/patch-src_ortho_mcode_memsegs__c.c b/ghdl-dev/patches/patch-src_ortho_mcode_memsegs__c.c
new file mode 100644
index 0000000000..3840f0798e
--- /dev/null
+++ b/ghdl-dev/patches/patch-src_ortho_mcode_memsegs__c.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+* Support NetBSD for mcode backend.
+
+--- src/ortho/mcode/memsegs_c.c.orig 2024-11-18 10:40:25.368626207 +0000
++++ src/ortho/mcode/memsegs_c.c
+@@ -28,6 +28,8 @@
+
+ #if defined(__APPLE__) || defined(__OpenBSD__)
+ #define MAP_ANONYMOUS MAP_ANON
++#elif defined(__NetBSD__)
++/* nothing */
+ #else
+ #define HAVE_MREMAP
+ #endif
Home |
Main Index |
Thread Index |
Old Index