ok, so I figured out how to make this generate a jar
but how do you use it? all the chisel tutorials just use e.g. sbt and that downloads everything from the internet.
Git Clone URL: | https://aur.archlinux.org/chisel.git (read-only, click to copy) |
---|---|
Package Base: | chisel |
Description: | Constructing Hardware in a Scala Embedded Language |
Upstream URL: | https://www.chisel-lang.org/ |
Licenses: | BSD |
Submitter: | sebo |
Maintainer: | Forty-Bot |
Last Packager: | Forty-Bot |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2015-07-08 19:11 (UTC) |
Last Updated: | 2024-10-21 03:12 (UTC) |
ok, so I figured out how to make this generate a jar
but how do you use it? all the chisel tutorials just use e.g. sbt and that downloads everything from the internet.
the b2sum is wrong, it's currently: 36cd2a6c60a8fd6b4cad6054540522b4ca6410074e16671c621b4f8d59d02c587b2252022adc467ffe466f00912cc0b5b7539b965aaf489a47392c0bb1990734
And the two lines with
cd ${pkgname}3-${pkgver}
should be
cd ${pkgname}-${pkgver}
instead, and it works fine with v3.5.6
The last stable release is 5.0.0 : https://github.com/chipsalliance/chisel/releases/tag/v5.0.0 but it looks like build process changed.
checksum failed: ==> Validating source files with b2sums... chisel-3.5.6.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check! -> error making: chisel-exit status 1 -> Failed to install the following packages. Manual intervention is required: chisel - exit status 1
To fix the build: sudo archlinux-java set java-11-openjdk
still getting the same java.lang.ClassCastException: class java.lang.UnsupportedOperationException cannot be cast to class xsbti.FullReload
.
changing sbt publishLocal
to PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH" sbt publishLocal
seems to fix it.
Should be ok now.
Hi, I have the following message error
==> Making package: chisel 3.5.2-1 (Fri 22 Apr 2022 12:09:34 PM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
copying runtime jar...
[info] [launcher] getting org.scala-sbt sbt 1.5.7 (this may take some time)...
[info] [launcher] getting Scala 2.12.14 (for sbt)...
java.lang.ClassCastException: class java.lang.UnsupportedOperationException cannot be cast to class xsbti.FullReload (java.lang.UnsupportedOperationException is in module java.base of loader 'bootstrap'; xsbti.FullReload is in unnamed module of loader 'app')
at sbt.internal.XMainConfiguration.run(XMainConfiguration.java:59)
at sbt.xMain.run(Main.scala:46)
at xsbt.boot.Launch$.$anonfun$run$1(Launch.scala:149)
at xsbt.boot.Launch$.withContextLoader(Launch.scala:176)
at xsbt.boot.Launch$.run(Launch.scala:149)
at xsbt.boot.Launch$.$anonfun$apply$1(Launch.scala:44)
at xsbt.boot.Launch$.launch(Launch.scala:159)
at xsbt.boot.Launch$.apply(Launch.scala:44)
at xsbt.boot.Launch$.apply(Launch.scala:21)
at xsbt.boot.Boot$.runImpl(Boot.scala:78)
at xsbt.boot.Boot$.run(Boot.scala:73)
at xsbt.boot.Boot$.main(Boot.scala:21)
at xsbt.boot.Boot.main(Boot.scala)
[error] [launcher] error during sbt launcher: java.lang.ClassCastException: class java.lang.UnsupportedOperationException cannot be cast to class xsbti.FullReload (java.lang.UnsupportedOperationException is in module java.base of loader 'bootstrap'; xsbti.FullReload is in unnamed module of loader 'app')
==> ERROR: A failure occurred in build().
Aborting...
-> error making: chisel
Should be fixed now.
install: cannot stat 'src/LICENSE.txt': No such file or directory
looks like _pkgname
here needs to be changed to pkgname
:
cd "${srcdir}/${_pkgname}3-${pkgver}"
Pinned Comments
Forty-Bot commented on 2024-02-07 16:58 (UTC)
ok, so I figured out how to make this generate a jar
but how do you use it? all the chisel tutorials just use e.g. sbt and that downloads everything from the internet.