public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-zig/zls/
Date: Mon, 28 Aug 2023 16:33:30 +0000 (UTC)	[thread overview]
Message-ID: <1693069238.0eb28c38bc75d8241423749cc2edad4cd8555673.davidroman@gentoo> (raw)

commit:     0eb28c38bc75d8241423749cc2edad4cd8555673
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Tue Aug 22 11:15:27 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Aug 26 17:00:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0eb28c38

dev-zig/zls: fix for 9999

See upstream PR https://github.com/zigtools/zls/pull/1415 and
commit https://github.com/zigtools/zls/commit/f95a0efca127c01450cd3beaf35e407e6dc1ff35

Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me>

 dev-zig/zls/zls-9999.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild
index f38e48ae05..fe83830faf 100644
--- a/dev-zig/zls/zls-9999.ebuild
+++ b/dev-zig/zls/zls-9999.ebuild
@@ -108,18 +108,20 @@ src_unpack() {
 	cd "${S}" || die
 	# "zig build" doesn't have "fetch" subcommand yet
 	ezig build --help || die "Fetching Zig modules failed"
+	local ZLS_GEN_FLAGS="--generate-version-data master --generate-version-data-path version_data_offline.zig"
+	ezig build gen --verbose -- ${ZLS_GEN_FLAGS} || die "Pre-generating Zig version data failed"
 }
 
 src_compile() {
-	ezig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
+	ezig build -Doptimize=ReleaseSafe -Dversion_data_file_path=version_data_offline.zig --verbose || die
 }
 
 src_test() {
-	ezig build test -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
+	ezig build test -Doptimize=ReleaseSafe -Dversion_data_file_path=version_data_offline.zig --verbose || die
 }
 
 src_install() {
-	DESTDIR="${ED}" ezig build install --prefix /usr -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
+	DESTDIR="${ED}" ezig build install --prefix /usr -Doptimize=ReleaseSafe -Dversion_data_file_path=version_data_offline.zig --verbose || die
 	dodoc README.md
 }
 


             reply	other threads:[~2023-08-28 16:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-28 16:33 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 11:18 [gentoo-commits] repo/proj/guru:master commit in: dev-zig/zls/ Lucio Sauer
2024-12-28 20:08 Florian Schmaus
2024-12-18  0:14 Julien Roy
2024-12-15 18:10 Julien Roy
2024-12-15 18:10 Julien Roy
2024-08-24 20:56 David Roman
2024-08-10 15:41 Lucio Sauer
2024-08-07 10:33 Lucio Sauer
2024-08-07 10:33 Lucio Sauer
2024-08-07 10:33 Lucio Sauer
2024-08-07 10:33 Lucio Sauer
2024-08-01 10:12 Lucio Sauer
2024-07-31 22:49 Lucio Sauer
2024-07-31 22:49 Lucio Sauer
2023-10-10  6:32 Rui Huang
2023-03-10  5:48 Viorel Munteanu
2023-03-10  5:48 Viorel Munteanu
2023-02-06  8:21 Viorel Munteanu
2022-11-05 15:26 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1693069238.0eb28c38bc75d8241423749cc2edad4cd8555673.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox