- changed status to open
install should populate version.git
UPC++ library build (bld/Makefile) currently includes logic to set -DUPCXXI_GIT_VERSION=...
when building from a git clone, embedding version information as an ident string into the library file.
utils/upcxx.sh
has logic to find and display the contents of $prefix/share/doc/upcxx/docs/version.git
as part of upcxx --version
. However, nothing in the current build/install process populates this file; AFAIK currently only pushbuild populates this file.
This is a request to have make install
also populate version.git in the install tree when installing from source in a git clone, so that installs from git clones correctly report the git hash in upcxx --version
Comments (2)
-
-
- changed status to resolved
Install version.git when building from a git clone
This commit resolves issue
#514by augmenting the installation script with logic to generate aversion.git
(containinggit describe
output) when the source tree appears to be under git version control.→ <<cset b163291e5808>>
- Log in to comment
Proposed implementation in pull request 393