unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Efraim Flashner <efraim@flashner.co.il>, 39943@debbugs.gnu.org
Subject: [bug#39943] [PATCH v2 4/4] gnu: Add hyperledger-iroha.
Date: Wed, 11 Mar 2020 15:13:25 +0100	[thread overview]
Message-ID: <87r1xz2d4q.fsf@ambrevar.xyz> (raw)
In-Reply-To: <20200310083105.21013-5-efraim@flashner.co.il>

[-- Attachment #1: Type: text/plain, Size: 1980 bytes --]

I've tested it and run the example here
https://iroha.readthedocs.io/en/latest/getting_started/cli-guide.html
It works!

Patch looks good, feel free to merge.
A few comments below:

> +              (snippet
> +               '(begin
> +                  ;; Backport unversioned fmt dependency:
> +                  (substitute* "libs/logger/logger.hpp"
> +                    (("fmt::v5") "fmt"))
> +                  #t))))

Mention the commit you've sent me and that this should be removed on
next update.

> +    (build-system cmake-build-system)
> +    (arguments
> +     `(#:configure-flags
> +       '("-DTESTING=OFF"
> +         ; Don't install the shared libraries of the dependencies:
> +         "-DENABLE_LIBS_PACKAGING=OFF")
> +       #:tests? #f

Explain why the tests must be disabled.

> +       #:test-target "."

Why setting the test-target if you are not running it?

> +       #:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'change-compilation-flags
> +           (lambda _
> +             (substitute* "cmake/functions.cmake"
> +               (("-Werror") ""))
> +             #t)))))

Why do you need to do this?

> +    ;; See https://iroha.readthedocs.io/en/latest/build/index.html.
> +    (native-inputs
> +     `(("googletest" ,googletest)))
> +    (inputs
> +     `(("boost" ,boost-1.69)
> +       ("fmt" ,fmt)
> +       ("gflags" ,gflags)
> +       ("grpc" ,grpc)
> +       ("hyperledger-iroha-ed25519" ,hyperledger-iroha-ed25519)
> +       ("postgresql" ,postgresql)
> +       ("protobuf" ,protobuf)
> +       ("rapidjson" ,rapidjson)
> +       ("rxcpp" ,rxcpp)
> +       ("soci" ,soci)
> +       ("spdlog" ,spdlog)
> +       ("tbb" ,tbb)))
> +    (synopsis "Simple, decentralized ledger")
> +    (description "Iroha is a distributed ledger technology (DLT). Iroha has

Double spacing.

Thanks!
Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2020-03-11 14:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06  9:23 [bug#39943] [PATCH 0/3] WIP: Hyperledger Iroha Pierre Neidhardt
2020-03-06  9:41 ` [bug#39943] [PATCH 1/3] gnu: Add fmt-5 Pierre Neidhardt
2020-03-06  9:41   ` [bug#39943] [PATCH 2/3] gnu: Add hyperledger-iroha-ed25519 Pierre Neidhardt
2020-03-10  8:31 ` [bug#39943] [PATCH v2 0/4] WIP: Hyperledger Iroha Efraim Flashner
2020-03-10  8:31   ` [bug#39943] [PATCH v2 1/4] gnu: grpc: Build shared libraries Efraim Flashner
2020-03-10  8:31   ` [bug#39943] [PATCH v2 2/4] gnu: Add hyperledger-iroha-ed25519 Efraim Flashner
2020-03-10  8:31   ` [bug#39943] [PATCH v2 3/4] gnu: Add boost-1.69 Efraim Flashner
2020-03-10  8:31   ` [bug#39943] [PATCH v2 4/4] gnu: Add hyperledger-iroha Efraim Flashner
2020-03-11 14:13     ` Pierre Neidhardt [this message]
2020-03-12 13:40       ` bug#39943: " Efraim Flashner
2020-03-12 13:45         ` [bug#39943] " Pierre Neidhardt

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87r1xz2d4q.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=39943@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).