Skip to content

Commit

Permalink
Merge pull request #1180 from rhc54/cmr31/config
Browse files Browse the repository at this point in the history
Configure logic updates
  • Loading branch information
rhc54 committed Mar 29, 2019
2 parents 9bd65d9 + 30d8d1f commit 22a6799
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 362 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ multiple release branches.
- Fix a regression in spinlock atomics
- Fix missing pointer update when shared memory segment
was re-attached
- Remove dependency on C++ compiler for thread detection
- Add detection for Flex when building in non-tarball situations
- Add dependency on libevent-devel to rpm spec file


3.1.2 -- 24 Jan 2019
Expand Down
6 changes: 3 additions & 3 deletions config/distscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2015 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2015-2019 Research Organization for Information Science
# and Technology (RIST). All rights reserved.
# Copyright (c) 2015 Los Alamos National Security, LLC. All rights
# reserved.
# Copyright (c) 2017 Intel, Inc. All rights reserved.
Expand Down Expand Up @@ -42,7 +42,7 @@ fi
# Otherwise, use what configure told us, at the cost of allowing one
# or two corner cases in (but otherwise VPATH builds won't work).
repo_rev=$PMIX_REPO_REV
if test -d .git ; then
if test -e .git ; then
repo_rev=$(config/pmix_get_version.sh VERSION --repo-rev)
fi

Expand Down
15 changes: 10 additions & 5 deletions config/pmix.m4
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,6 @@ AC_DEFUN([PMIX_SETUP_CORE],[

CFLAGS="$CFLAGS $THREAD_CFLAGS"
CPPFLAGS="$CPPFLAGS $THREAD_CPPFLAGS"
CXXFLAGS="$CXXFLAGS $THREAD_CXXFLAGS"
CXXCPPFLAGS="$CXXCPPFLAGS $THREAD_CXXCPPFLAGS"
LDFLAGS="$LDFLAGS $THREAD_LDFLAGS"
LIBS="$LIBS $THREAD_LIBS"

Expand All @@ -728,10 +726,10 @@ AC_DEFUN([PMIX_SETUP_CORE],[

AC_PROG_LN_S

# Check for some common system programs that we need
AC_PROG_GREP
AC_PROG_EGREP


##################################
# Visibility
##################################
Expand Down Expand Up @@ -912,8 +910,16 @@ AC_DEFUN([PMIX_DEFINE_ARGS],[
# Is this a developer copy?
#

if test -d .git; then
if test -e $PMIX_TOP_SRCDIR/.git; then
PMIX_DEVEL=1
# check for Flex
AC_PROG_LEX
if test "x$LEX" != xflex; then
AC_MSG_WARN([PMIx requires Flex to build from non-tarball sources,])
AC_MSG_WARN([but Flex was not found. Please install Flex into])
AC_MSG_WARN([your path and try again])
AC_MSG_ERROR([Cannot continue])
fi
else
PMIX_DEVEL=0
fi
Expand Down Expand Up @@ -964,7 +970,6 @@ fi
#################### Early development override ####################
if test "$WANT_DEBUG" = "0"; then
CFLAGS="-DNDEBUG $CFLAGS"
CXXFLAGS="-DNDEBUG $CXXFLAGS"
fi
AC_DEFINE_UNQUOTED(PMIX_ENABLE_DEBUG, $WANT_DEBUG,
[Whether we want developer-level debugging code or not])
Expand Down
Loading

0 comments on commit 22a6799

Please sign in to comment.