Skip to content

Commit

Permalink
Use git describe on a known PRRTE commit sha instead of checking for …
Browse files Browse the repository at this point in the history
….git directory

Supports VPATH builds. Copied from open-mpi/ompi#12173.

Thanks to @devreal for the original PR.

Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Dec 19, 2023
1 parent 25c2ca4 commit 4a5c1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/prte_configure_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ AC_DEFINE_UNQUOTED([PRTE_WANT_PRTE_PREFIX_BY_DEFAULT],
# Is this a developer copy?
#

if test -d .git; then
if git describe 350564b9f381dfbdbe119f26585f07da6f4b9e8a &> /dev/null ; then
PRTE_DEVEL=1
else
PRTE_DEVEL=0
Expand Down

0 comments on commit 4a5c1e8

Please sign in to comment.