Skip to content

Commit

Permalink
Detect devel build in vpath builds
Browse files Browse the repository at this point in the history
Use `git describe` on a known OMPI commit sha instead
of checking for .git directory.

Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Dec 20, 2023
1 parent 44c103d commit 7d8637e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/opal_configure_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ opal_show_subtitle "General configuration options"


#
# Is this a developer copy?
# Is this a developer copy? Check for a known OMPI git hash
#

if test -d .git; then
if git describe 43a3f4282055c7116ca618c17a9f27247f4923d2 &> /dev/null ; then
OPAL_DEVEL=1
else
OPAL_DEVEL=0
Expand Down

0 comments on commit 7d8637e

Please sign in to comment.