pkgs/by-name/he/hello-cpp/package.nix
0 → 100644
+18
−0
+6
−0
pkgs/by-name/he/hello-cpp/src/main.cpp
0 → 100644
+6
−0
Loading
Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
Proposal: a trivial hello-cpp to complement gnu hello, testing C++ and
cmake infrastructure.
This is intended to assist with testing exotic stdenvs such as the one
used in pkgsLLVM, requiring no additional dependencies to get a quick
test that the compiler and cmake are working as intended as a basic
level.
There does already exist tests.cc-wrapper, but this does not produce any
outputs, and sometimes it is useful to have a quick test that something
builds. It's also useful to be able to inspect the outputs to look at
references and so forth.
Signed-off-by:
Peter Waller <p@pwaller.net>