From: jiaming yuan <jm.yuan@outlook.com>
To: "brettg@posteo.net" <brettg@posteo.net>
Cc: Guix devel <guix-devel@gnu.org>
Subject: Re: Packaging cquery
Date: Sun, 13 Jan 2019 07:38:54 +0000 [thread overview]
Message-ID: <HK2PR0201MB2179B9A5B287B8DA3BFA8F52F6870@HK2PR0201MB2179.apcprd02.prod.outlook.com> (raw)
In-Reply-To: <71d33ed434ab33ab960ca174e6adb2ef@posteo.net>
Hi Brett,
I have a working cquery and ccls package depends on clang-7:
https://github.com/trivialfis/guixpkgs/blob/b64f6fd3f8d4e04c6752e20bb7769e1c426f6ad4/code.scm#L114
I can't upstream it because there are too many bundled dependencies. Feel free
to look into it. :)
brettg@posteo.net writes:
> Hi all, I am attempting to package cquery.
>
> Here is my definition
>
> (define-public cquery
> (package
> (name "cquery")
> (version "20180718")
> (source (origin
> (method url-fetch)
> (uri (string-append
> "https://github.com/cquery-project/cquery/archive/v"
> version ".tar.gz"))
> (sha256
> (base32
> "076cavgipn6g37fhvdcq0z915c5lxxa56mbxw9d6njksdxg1wdkj"))))
> (build-system cmake-build-system)
> (inputs
> `(("python" ,python-wrapper)
> ("clang" ,clang)))
> (home-page "https://github.com/cquery-project/cquery")
> (synopsis "C/C++ language server supporting multi-million line code
> base, powered by libclang")
> (description "Add later.")
> (license license:x11-style)))
>
> the configuration seems to fail when cmake attempts to download
> clang. Does anybody know how to get it to ignore this request and use
> the system clang (which I assume is the correct (guix) way to do this.
>
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Using downloaded Clang
> -- Downloading Clang 6.0.0
> (https://releases.llvm.org/6.0.0/clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz)
> ...
> CMake Error at cmake/DownloadAndExtractClang.cmake:82 (message):
> SHA256 hash of downloaded Clang does not match expected hash.
> Remove the
> build directory and try running CMake again. If this keeps
> happening, file
> an issue to report the problem.
> Call Stack (most recent call first):
> CMakeLists.txt:96 (download_and_extract_clang)
>
> Thanks,
> Brett Gilio
--
Jiaming
next prev parent reply other threads:[~2019-01-13 7:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-13 3:24 Packaging cquery brettg
2019-01-13 7:38 ` jiaming yuan [this message]
2019-01-13 8:03 ` Efraim Flashner
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=HK2PR0201MB2179B9A5B287B8DA3BFA8F52F6870@HK2PR0201MB2179.apcprd02.prod.outlook.com \
--to=jm.yuan@outlook.com \
--cc=brettg@posteo.net \
--cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.