pkgsrc-WIP-changes archive

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

ghdl-dev: backend switched back to llvm with mcode there was run time error in simulations (issue logged upstream)



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Tue Nov 19 09:47:47 2024 +0530
Changeset:	1a1bb42890e55534fd913d1f6c667fb60dc465c9

Modified Files:
	ghdl-dev/COMMIT_MSG
	ghdl-dev/DESCR
	ghdl-dev/Makefile
	ghdl-dev/PLIST

Log Message:
ghdl-dev: backend switched back to llvm
with mcode there was run time error in simulations (issue logged upstream)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1a1bb42890e55534fd913d1f6c667fb60dc465c9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ghdl-dev/COMMIT_MSG |  1 -
 ghdl-dev/DESCR      |  1 -
 ghdl-dev/Makefile   |  5 +++
 ghdl-dev/PLIST      | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 101 insertions(+), 2 deletions(-)

diffs:
diff --git a/ghdl-dev/COMMIT_MSG b/ghdl-dev/COMMIT_MSG
index 5f52d17203..8f61fb5033 100644
--- a/ghdl-dev/COMMIT_MSG
+++ b/ghdl-dev/COMMIT_MSG
@@ -4,4 +4,3 @@ 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
index 33cde2a5b1..21b6cfaf44 100644
--- a/ghdl-dev/DESCR
+++ b/ghdl-dev/DESCR
@@ -8,4 +8,3 @@ 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
index 4469b7c12a..f07bd3a241 100644
--- a/ghdl-dev/Makefile
+++ b/ghdl-dev/Makefile
@@ -15,6 +15,7 @@ LICENSE=	gnu-gpl-v2
 
 HAS_CONFIGURE=	yes
 USE_TOOLS+=	gmake
+USE_LANGUAGES+=	c c++ # ada
 TOOL_DEPENDS+=	gcc10-aux-[0-9]*:../../lang/gcc10-aux
 REPLACE_BASH=	scripts/vendors/*.sh
 
@@ -25,5 +26,9 @@ CONFIGURE_ENV+=		GNATMAKE=${PREFIX}/gcc10-aux/bin/gnatmake
 CONFIGURE_ARGS+=	--prefix=${PREFIX}
 CONFIGURE_ARGS+=	--enable-synth
 CONFIGURE_ARGS+=	--enable-libghdl
+CONFIGURE_ARGS+=	--with-llvm-config=${PREFIX}/bin/llvm-config
 
+BUILDLINK_DEPMETHOD.clang=	build
+.include "../../lang/clang/buildlink3.mk"
+.include "../../lang/llvm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/ghdl-dev/PLIST b/ghdl-dev/PLIST
index f891d4eca7..dc5f9afd74 100644
--- a/ghdl-dev/PLIST
+++ b/ghdl-dev/PLIST
@@ -1,5 +1,6 @@
 @comment $NetBSD$
 bin/ghdl
+bin/ghdl1-llvm
 bin/ghwdump
 include/ghdl/libghw.h
 include/ghdl/synth.h
@@ -7,9 +8,93 @@ include/ghdl/synth_gates.h
 include/ghdl/vhpi_user.h
 include/ghdl/vpi_user.h
 lib/ghdl/ansi_color.sh
+lib/ghdl/grt-exec.lst
+lib/ghdl/grt-shared.lst
+lib/ghdl/grt.lst
+lib/ghdl/grt.ver
+lib/ghdl/ieee/v08/fixed_float_types.o
+lib/ghdl/ieee/v08/fixed_generic_pkg-body.o
+lib/ghdl/ieee/v08/fixed_generic_pkg.o
+lib/ghdl/ieee/v08/fixed_pkg.o
+lib/ghdl/ieee/v08/float_generic_pkg-body.o
+lib/ghdl/ieee/v08/float_generic_pkg.o
+lib/ghdl/ieee/v08/float_pkg.o
 lib/ghdl/ieee/v08/ieee-obj08.cf
+lib/ghdl/ieee/v08/ieee_bit_context.o
+lib/ghdl/ieee/v08/ieee_std_context.o
+lib/ghdl/ieee/v08/math_complex-body.o
+lib/ghdl/ieee/v08/math_complex.o
+lib/ghdl/ieee/v08/math_real-body.o
+lib/ghdl/ieee/v08/math_real.o
+lib/ghdl/ieee/v08/memory_b.o
+lib/ghdl/ieee/v08/memory_p.o
+lib/ghdl/ieee/v08/numeric_bit-body.o
+lib/ghdl/ieee/v08/numeric_bit.o
+lib/ghdl/ieee/v08/numeric_bit_unsigned-body.o
+lib/ghdl/ieee/v08/numeric_bit_unsigned.o
+lib/ghdl/ieee/v08/numeric_std-body.o
+lib/ghdl/ieee/v08/numeric_std.o
+lib/ghdl/ieee/v08/numeric_std_unsigned-body.o
+lib/ghdl/ieee/v08/numeric_std_unsigned.o
+lib/ghdl/ieee/v08/prmtvs_b.o
+lib/ghdl/ieee/v08/prmtvs_p.o
+lib/ghdl/ieee/v08/std_logic_1164-body.o
+lib/ghdl/ieee/v08/std_logic_1164.o
+lib/ghdl/ieee/v08/std_logic_arith.o
+lib/ghdl/ieee/v08/std_logic_misc-body.o
+lib/ghdl/ieee/v08/std_logic_misc.o
+lib/ghdl/ieee/v08/std_logic_signed.o
+lib/ghdl/ieee/v08/std_logic_textio.o
+lib/ghdl/ieee/v08/std_logic_unsigned.o
+lib/ghdl/ieee/v08/timing_b.o
+lib/ghdl/ieee/v08/timing_p.o
+lib/ghdl/ieee/v08/upf-body.o
+lib/ghdl/ieee/v08/upf.o
 lib/ghdl/ieee/v87/ieee-obj87.cf
+lib/ghdl/ieee/v87/numeric_bit-body.o
+lib/ghdl/ieee/v87/numeric_bit.o
+lib/ghdl/ieee/v87/numeric_std-body.o
+lib/ghdl/ieee/v87/numeric_std.o
+lib/ghdl/ieee/v87/std_logic_1164-body.o
+lib/ghdl/ieee/v87/std_logic_1164.o
+lib/ghdl/ieee/v87/std_logic_arith.o
+lib/ghdl/ieee/v87/std_logic_misc-body.o
+lib/ghdl/ieee/v87/std_logic_misc.o
+lib/ghdl/ieee/v87/std_logic_signed.o
+lib/ghdl/ieee/v87/std_logic_textio.o
+lib/ghdl/ieee/v87/std_logic_unsigned.o
+lib/ghdl/ieee/v87/upf-body.o
+lib/ghdl/ieee/v87/upf.o
+lib/ghdl/ieee/v87/vital_primitives-body.o
+lib/ghdl/ieee/v87/vital_primitives.o
+lib/ghdl/ieee/v87/vital_timing-body.o
+lib/ghdl/ieee/v87/vital_timing.o
 lib/ghdl/ieee/v93/ieee-obj93.cf
+lib/ghdl/ieee/v93/math_complex-body.o
+lib/ghdl/ieee/v93/math_complex.o
+lib/ghdl/ieee/v93/math_real-body.o
+lib/ghdl/ieee/v93/math_real.o
+lib/ghdl/ieee/v93/memory_b.o
+lib/ghdl/ieee/v93/memory_p.o
+lib/ghdl/ieee/v93/numeric_bit-body.o
+lib/ghdl/ieee/v93/numeric_bit.o
+lib/ghdl/ieee/v93/numeric_std-body.o
+lib/ghdl/ieee/v93/numeric_std.o
+lib/ghdl/ieee/v93/prmtvs_b.o
+lib/ghdl/ieee/v93/prmtvs_p.o
+lib/ghdl/ieee/v93/std_logic_1164-body.o
+lib/ghdl/ieee/v93/std_logic_1164.o
+lib/ghdl/ieee/v93/std_logic_arith.o
+lib/ghdl/ieee/v93/std_logic_misc-body.o
+lib/ghdl/ieee/v93/std_logic_misc.o
+lib/ghdl/ieee/v93/std_logic_signed.o
+lib/ghdl/ieee/v93/std_logic_textio.o
+lib/ghdl/ieee/v93/std_logic_unsigned.o
+lib/ghdl/ieee/v93/timing_b.o
+lib/ghdl/ieee/v93/timing_p.o
+lib/ghdl/ieee/v93/upf-body.o
+lib/ghdl/ieee/v93/upf.o
+lib/ghdl/libgrt.a
 lib/ghdl/src/ieee/math_complex-body.vhdl
 lib/ghdl/src/ieee/math_complex.vhdl
 lib/ghdl/src/ieee/math_real-body.vhdl
@@ -82,9 +167,20 @@ 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/env-body.o
+lib/ghdl/std/v08/env.o
 lib/ghdl/std/v08/std-obj08.cf
+lib/ghdl/std/v08/std_standard.o
+lib/ghdl/std/v08/textio-body.o
+lib/ghdl/std/v08/textio.o
 lib/ghdl/std/v87/std-obj87.cf
+lib/ghdl/std/v87/std_standard.o
+lib/ghdl/std/v87/textio-body.o
+lib/ghdl/std/v87/textio.o
 lib/ghdl/std/v93/std-obj93.cf
+lib/ghdl/std/v93/std_standard.o
+lib/ghdl/std/v93/textio-body.o
+lib/ghdl/std/v93/textio.o
 lib/ghdl/vendors/README.md
 lib/ghdl/vendors/compile-altera.ps1
 lib/ghdl/vendors/compile-altera.sh


Home | Main Index | Thread Index | Old Index