[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72106] [PATCH v2 2/5] gnu: klee: Enable the test suite.
From: |
Ludovic Courtès |
Subject: |
[bug#72106] [PATCH v2 2/5] gnu: klee: Enable the test suite. |
Date: |
Sat, 20 Jul 2024 11:56:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello Sören,
soeren@soeren-tempel.net skribis:
> (,(string-append lib "/klee/runtime/"))))))))
> #:configure-flags
> - #~(list (string-append "-DLLVMCC="
> + #~(list "-DENABLE_UNIT_TESTS=ON"
> + "-DENABLE_SYSTEM_TESTS=ON"
> + (string-append "-DGTEST_SRC_DIR="
> + (assoc-ref %build-inputs "googletest"))
> + (string-append "-DGTEST_INCLUDE_DIR="
> + (assoc-ref %build-inputs "googletest")
> "/googletest/include")
I would replace (assoc-ref …) by:
#+(package-source googletest)
> - (inputs (list bash-minimal klee-uclibc gperftools sqlite z3 python
> python-tabulate))
> + (inputs
> + `(("bash-minimal" ,bash-minimal)
> + ("klee-uclibc" ,klee-uclibc)
> + ("gperftools" ,gperftools)
> + ("sqlite" ,sqlite)
> + ("z3" ,z3)
> + ("python", python)
> + ("python-tabulate" ,python-tabulate)
> + ("googletest" ,(package-source googletest))))
… and leave ‘googletest’ out of ‘inputs’ entirely, keeping the concise
input list without labels. (I think we shouldn’t reintroduce input
labels; the goal has always been to remove them.)
WDYT?
Besides, to answer Liliana, Googletest is often used as a “source
library” like you’re doing here; there are quite a few other packages
that do that in Guix already, as you explained. That’s OK.
Thanks,
Ludo’.
- [bug#72106] [PATCH 2/3] gnu: klee: Enable the test suite., (continued)
- [bug#72106] [PATCH 2/3] gnu: klee: Enable the test suite., soeren, 2024/07/14
- [bug#72106] [PATCH 3/3] gnu: klee: Only strip bin directory., soeren, 2024/07/14
- [bug#72106] [PATCH 1/3] gnu: klee: Propagate Python dependencies needed by klee-stats., soeren, 2024/07/14
- [bug#72106] [PATCH 0/3] gnu: klee: Enable test suite, Liliana Marie Prikler, 2024/07/14
- [bug#72106] [PATCH v2 1/5] gnu: klee: Wrap klee-stats for Python dependencies., soeren, 2024/07/14
- [bug#72106] [PATCH v2 4/5] gnu: klee: Only build on x86_64 Linux., soeren, 2024/07/14
- [bug#72106] [PATCH v2 3/5] gnu: klee: Only strip bin directory., soeren, 2024/07/14
- [bug#72106] [PATCH v2 5/5] gnu: klee-uclibc: Only build on x86_64 Linux., soeren, 2024/07/14
[bug#72106] [PATCH v3 1/5] gnu: klee: Wrap klee-stats for Python dependencies., soeren, 2024/07/25