From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A24CD13933E for ; Tue, 6 Jul 2021 01:30:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C41F1E0A8E; Tue, 6 Jul 2021 01:30:47 +0000 (UTC) Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D38FE0A8E for ; Tue, 6 Jul 2021 01:30:47 +0000 (UTC) Received: by mail-ua1-x92f.google.com with SMTP id n61so7662421uan.2 for ; Mon, 05 Jul 2021 18:30:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=6yrf/ha7SDy1HxmX8oYwxSSbnYM3G2C1gqaSpqAQgVY=; b=QHyd/4zzSZ4ur4OGoGiHxsvVq015Nit7xiiLzWFqgvMtHzNgGrBKzztGWeMFG9wxvN 4F9qtowu+FXNlWzpypX7yf2yyNldxoOZfKgkwDV+yjmL8zVAmd/JjDDrkrIBTa7ZVoiX TlU8/7OMmxo9W1IhFFh4dP0myloZTIrNgzqe+Jz+FythaG4wj0S7eKfL+MEBp57OJaqC 3XCLmmKJwVlo8i2AMQ/JT8jTtAm4Or47yw97lqXjTvj0qhNzEs5T6m7lFC9MgpC153NC 6KRSvZ5QJKCwM6SF0vPR4+V07WQoMKuiJkkdlEmAFDQQBLgJn7TGGiRLIlvc3ZJmOhPj fWUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=6yrf/ha7SDy1HxmX8oYwxSSbnYM3G2C1gqaSpqAQgVY=; b=RSUyYkUpVprOfAhMe1H4+Kbsg5AkRzACXJeQVe21n/XHKM7FxXbFz2ZFilMl1YEWSS qDc8BAVeNhSYvE2Kb5sZDOo+sw/77/79kvw2kkSUpDVcjsIBILBi+h+ZbFO0Pkz7Mzir a0GxjoPfAz45P47NDUerpSB2in+5/ju5wp1Ng0CaTkEbVPqcEJcxhQj4wHEQprteYT/g ZVKNr1OvArsEkJnQxuGuvZqpbPjgghmHPA65R5IJzYlnoIclVa2J8Br86BTz0uoG4x3r q+BPtWY4qgHqklbeBaVhI3Oo6vnFWIHDvWxEmrFWnjqKfD1DYdYoLf/DyPeGdEZZcvmR TyhA== X-Gm-Message-State: AOAM531LXWOskyS9/2Un6e+LvOfr0yHyeHqWYerrvvKBJ0bsN6VS8tKu C00W5ZeOAeIlw1PATv0nJhoUCE+ieZ4Ahf/cQ0KqBgfNS8JokA== X-Google-Smtp-Source: ABdhPJzAU3GpqX03y/Gh5ZgBmufesMG5zGjmYfZS+MsERtSj6LDzWe8J2OhwIhbSYiuX4baTWEN4cWNU3U7z077+Ew0= X-Received: by 2002:ab0:60d0:: with SMTP id g16mr10412594uam.69.1625535046303; Mon, 05 Jul 2021 18:30:46 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: "Yuan Liao (Leo)" Date: Mon, 5 Jul 2021 18:30:10 -0700 Message-ID: Subject: [gentoo-soc] Re: Week 4 Report for Big Data Infrastructure and H2O ebuilds Project To: gentoo-soc@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 2d809c06-b4e8-45d1-acf5-9e459545c78c X-Archives-Hash: b29348794b5c010ab9d66e8f626d1110 Hi folks, The blog post discussing how I created the Kotlin library ebuilds has been published at: https://leo3418.github.io/2021/07/05/gentoo-build-kt-src.html Thanks, Leo On Sun, Jul 4, 2021 at 10:03 PM Yuan Liao (Leo) wrote: > > Hi folks, > > I have been quite busy creating the ebuilds that build the Kotlin > libraries from source during the past week, and I am pleased to report > that the work is now complete and the ebuilds are installable and > usable. Every Kotlin library listed here [1] can be built from source > using those ebuilds. All ebuilds have been pushed to my fork of the > Spark overlay [2]. > > To use the ebuilds to build the Kotlin libraries from source, binary > JARs for kotlin-stdlib and kotlin-reflect pre-built by the upstream > must be installed first for bootstrapping. Then, after the Kotlin > compiler package -- dev-lang/kotlin-bin -- is installed, the libraries > can be built from source. The exact commands to build and install the > libraries from source are: > > env USE="binary" emerge -a1 dev-java/kotlin-stdlib dev-java/kotlin-reflect > emerge --ask dev-lang/kotlin-bin > emerge --ask --update --newuse --deep @world > > The ebuilds only use kotlinc and javac to build the Kotlin libraries. > Although Gradle is used by the upstream to build Kotlin, it is not > used in those ebuilds. I extracted the commands Gradle would run to > build each library component to create those ebuilds. > > I am currently in the process of writing a blog post describing how I > discovered the way to extract those commands from Gradle and > surmounted various challenges in creating those ebuilds, and I have > also planned to provide more documentation regarding installing and > maintaining those packages. The blog post is supposed to be completed > today, but I really cannot make it because there are really lots of > things to talk about and my brain is slowing down as bedtime is coming > closer and closer. I am sorry for the delay. Once it is published > (hopefully tomorrow), I will post the link to it in a reply to this > email. The link to the documentation will also be posted after it is > done. > > Best regards, > Leo > > [1]: https://github.com/JetBrains/kotlin/tree/v1.5.20/libraries > [2]: https://github.com/Leo3418/spark-overlay/tree/master/dev-java#:~:text=kotlin-annotations-jvm