From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Tue, 1 Feb 2022 14:00:14 -0500 Message-ID: References: <86czks94vl.fsf@duenenhof-wilhelm.de> <86v8yj7vhv.fsf@duenenhof-wilhelm.de> <83v8yjyj21.fsf@gnu.org> <87sftmn1k9.fsf@russet.org.uk> <83sftmwner.fsf@gnu.org> <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> <878rve85yy.fsf@russet.org.uk> <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> <83o848tc92.fsf@gnu.org> <86o8473k13.fsf@duenenhof-wilhelm.de> <83ee53ssbx.fsf@gnu.org> <86pmo6v741.fsf@duenenhof-wilhelm.de> <83r18m79t9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007df57605d6f98340" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "H. Dieter Wilhelm" , Corwin Brust , EMACS development team , Phillip Lord To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 02 00:54:50 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nF2z4-00045M-C6 for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Feb 2022 00:54:50 +0100 Original-Received: from localhost ([::1]:54216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF2z3-0005kh-Dh for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Feb 2022 18:54:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEyQz-0006GT-Ip for emacs-devel@gnu.org; Tue, 01 Feb 2022 14:03:23 -0500 Original-Received: from [2a00:1450:4864:20::12d] (port=39895 helo=mail-lf1-x12d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEyQh-0006U9-Hx; Tue, 01 Feb 2022 14:03:14 -0500 Original-Received: by mail-lf1-x12d.google.com with SMTP id b9so35817379lfq.6; Tue, 01 Feb 2022 11:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WxlwotJA8xMzk660fH8Du1P0AUdPheQnW8WBuRJaO3w=; b=LTh2b6QoIZIwxTbs96CbH8YgMlOgoV+Ou1DbeTcFEQpDw7VMoD5ma25RDlK66wH97P OUu5NjnAu+FWd5FcNBbDkMToy5iJr1rz9Z0TkIAjhO4MudAsZwGfOuC28VXZCA5lVZab w9g1aDYBpSeS1D2ZQsWX8uLecATVIn0qliYYgdKpzffBss7oA1n7SmDJf4dhtGEBGlLc gGTbIdVuJAD/JpL5mPFbPWWO9nhE4MGDl0OH7yWLP7OCa77F7L3MNxdrGlzv/iLyl3+h zfyuAX1jX7YXnMr5OOOR+9iPp79F9FSEQBtnao+r1MHj4InwVVvZRjWsmBMHkGwJRD+0 GyNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WxlwotJA8xMzk660fH8Du1P0AUdPheQnW8WBuRJaO3w=; b=61uPM0OAwCkbmfK7ITGnx3JYVINu8YN1yUqpv/Ha54YOMbZa467FB/mcgfURpdFhM5 ajWh2DKiNKXdUYsgA0eqU8C+lmZWPIF5EPA/7Cuiep/W5CfWGPWlBUalmkUUEYChikGu iqsMw2zS+HMj0GLTM3qzuN++wdXx1Thr4RW6sq47oPf171g7EGHooD1LNkwOwGyRRs2e XiTvuF5TrR5K/Jy23IwuBRUGo95EvDORwTt64u0zp+pBHJuDeifjnUkM+A3ffDNAWtwm tJTASu0OPKSWcWCFHM+snzBnYeyCaItAheiiwCNhJulSwIRJqq/d8KFF6fnDK0ULU4Zc L+Ug== X-Gm-Message-State: AOAM533elqDB4wp4/tDIAGvuPV/wZMGhkNuDN7HcPF3pHVTafuw8NPwU UENgSjiurahX1xgkVKGas+/KeiUqUWm8FhlRZLL78DH5 X-Google-Smtp-Source: ABdhPJxHKe0ZqPKKBRrtEMbUC3+FsOy9R/bsB4JV2EGo1Hm/XfBbC0xtl+cKCR9XuzB30WW39JwlLNKHlrBk9sa6qUY= X-Received: by 2002:a05:6512:3ca0:: with SMTP id h32mr19495040lfv.19.1643742024823; Tue, 01 Feb 2022 11:00:24 -0800 (PST) In-Reply-To: <83r18m79t9.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=yandros@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285749 Archived-At: --0000000000007df57605d6f98340 Content-Type: text/plain; charset="UTF-8" On Tue, Feb 1, 2022 at 12:53 PM Eli Zaretskii wrote: > > could you please give a minimal setup to test the jansson library for > > the language server protocol? Is it enough to create a json file, setq > > a default server address and search for function names? :-) > > I'm not Chad, but what's wrong with test/src/json-tests.el? > I hope nothing, because that's what I was going to suggest. :-) I also note that there is some #ifdef WINDOWSNT code in src/json.c that checks for the jansson library near the top of DEFUN ("json-serialize"... that suggests it will signal a useful error if it can't find the library, and json-serialize is heavily exercised in test/src/json-tests.el, so as a specific check, "cd tests; make json-tests" should do the job. Hope that helps, ~Chad --0000000000007df57605d6f98340 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Feb 1, 2022 at 12:53 PM Eli Z= aretskii <eliz@gnu.org> wrote:
> could you ple= ase give a minimal setup to test the jansson library for
> the language server protocol?=C2=A0 Is it enough to create a json file= , setq
> a default server address and search for function names? :-)

I'm not Chad, but what's wrong with test/src/json-tests.el?

I hope nothing, because that's what I was = going to suggest. :-)

I also note that there is so= me #ifdef WINDOWSNT=C2=A0code in src/json.c that checks for the jansson lib= rary near the top of DEFUN ("json-serialize"... that suggests it = will signal a useful error if it can't find the library, and json-seria= lize is heavily exercised in test/src/json-tests.el, so as a specific check= , "cd tests; make json-tests" should do the job.

Hope that helps,
~Chad
=C2=A0
--0000000000007df57605d6f98340--