From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mr6.vodafonemail.de (mr6.vodafonemail.de [145.253.228.166]) by sourceware.org (Postfix) with ESMTPS id 2D7063858D20 for ; Wed, 30 Aug 2023 16:31:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2D7063858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1693413088; bh=CmhcobdWmtgGBpXbQ9enjkm7y/3EbVP+ZI2vtoc4Gyo=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID:User-Agent: Content-Type:From; b=SQg4e6e+ykKtytRs7R6rGwREgV/OdKkB1899w0Bw1rw6YV8o5lxBDf1r89uH59Y3s TUnk4c0cvbp3iYrwDyLuPnkGAoPTY7GA4kNFVoaVM2tWAvwq5Lm6f0Vy46NHOpN0np sGEwngHPV6HeG9Ts0nNbiOuhGX03Y3HJqxvp6AxI= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr6.vodafonemail.de (Postfix) with ESMTPS id 4RbVDJ5gNpz1xwq for ; Wed, 30 Aug 2023 16:31:28 +0000 (UTC) Received: from Gerda (p57b9d560.dip0.t-ipconnect.de [87.185.213.96]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RbVDD481fz9sW0 for ; Wed, 30 Aug 2023 16:31:21 +0000 (UTC) From: ASSI To: cygwin-apps@cygwin.com Subject: Re: [Sharing progress] Tried to revive LLVM/Clang/Libc++ pkgs and port Rust In-Reply-To: <6U1KGZ5IipB7z0fLRrYZF_Yv9IbQM3yx8gsZTJu_APmsJJBNsm7tX--zQf9hQImWQvzv_zT3FAtn7uVA4NaVSEVUeU7jyTwttI4cGMhPcA0=@proton.me> (William Hu via Cygwin-apps's message of "Wed, 30 Aug 2023 02:18:56 +0000") References: <877cpyopix.fsf@Rainer.invalid> <87sf84sb3u.fsf@Rainer.invalid> <871qfn3v82.fsf@Rainer.invalid> <6U1KGZ5IipB7z0fLRrYZF_Yv9IbQM3yx8gsZTJu_APmsJJBNsm7tX--zQf9hQImWQvzv_zT3FAtn7uVA4NaVSEVUeU7jyTwttI4cGMhPcA0=@proton.me> Date: Wed, 30 Aug 2023 18:31:17 +0200 Message-ID: <87ledsv6ei.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 3330 X-purgate-ID: 155817::1693413084-49FFC816-0080A7C7/0/0 X-Spam-Status: No, score=-3028.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: William Hu via Cygwin-apps writes: > Just checked the file and I agree that CFLAGS looks a little funny - are = there any=20 > other stupid flags/variables that you had in mind? NOt immediately, but it makes me wonder if there's other such leakage. I have not found a (text) file that stores this information in the installed package, so it seems that the information is compiled in someplace. > Re Opam switches: As far as I understand, switches are like "git branch" = but for=20 > different compiler installations instead of different code branches; for = example=20 > you can install ocaml 4.14.0 and 4.12.0 side by side and switch between t= hem=20 > easily. In addition to some other things, it effectively edits your PATH= =20 > environment variable so when you type "ocamlc" it'll execute the appropri= ate version. Yes, I know that. The complete mystery is why you can't use opam to provide results that can be packaged. > General comment: I don't know much about LLVM, but is there a reason why = the=20 > other software (dune, ocamlbuild, etc.) must be installed with the system= and=20 > not with opam? Because the expecation is that you can get everything in to a working state just by installing the packages. >> Cygport package changes are in the Cygwin Packages Git repository in the >> respective playground branch as before. > > Re OCaml cygport playground: Thanks for the cygport cleanup and changes. > A couple questions: > > src_compile: > 1. Adding flambda to a default system installation of OCaml can slow down= =20 > compile times and produce linking incompatibilities with non-flambda code= [1].=20 > Additionally, there may be value in a vanilla out-of-the-box OCaml > distribution. I've mainly includeed it because LLVM complained it wasn't enabled (obviously it can build the OCaml bindings with and without flambda) since it seems to work and test OK I just flipped that switch. > Let me know if there is some general Cygwin guidance on what features pac= kaged=20 > language compilers should support. Otherwise, if flambda is necessary for= LLVM,=20 > I could package an flambda and a non-flambda release for each version, an= d the=20 > user can pick which one they prefer. I don't think that makes any sense given the way the packaging is done at the moment. In fact, ever since you updated to 4.14.0 all other OCaml packages in Cygwin were dead since you didn't update these at the same time and there is no mechanism in place yet to ensure that ocaml-* packages and the ocaml package target the same version of the compiler. > 2. What benefit does splitting "cygmake" into the 3-step "cygmake world, = opt,=20 > opt.opt" have? Plain old "make/cygmake" with no target appears to be the= =20 > recommended compilation step. Hysterical raisins=E2=80=A6 before I got things to actually build it would = stop in various places and I was tring to find out where that happened. I've not gone back to reduce it again since it doewsn't incur any (or at least not noticeable) overhead at the moment. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs