hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject incubator-hawq git commit: HAWQ-877. Need to stop building when building error occurs in gpfdist directory
Date Wed, 29 Jun 2016 02:25:23 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 323fb6fd6 -> 706882c20


HAWQ-877. Need to stop building when building error occurs in gpfdist directory


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/706882c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/706882c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/706882c2

Branch: refs/heads/master
Commit: 706882c2060763f4af6ec5632e3588971ef24ee0
Parents: 323fb6f
Author: Ming LI <mli@pivotal.io>
Authored: Tue Jun 28 17:25:49 2016 +0800
Committer: Ming LI <mli@pivotal.io>
Committed: Wed Jun 29 10:23:22 2016 +0800

----------------------------------------------------------------------
 src/bin/gpfdist/Makefile | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/706882c2/src/bin/gpfdist/Makefile
----------------------------------------------------------------------
diff --git a/src/bin/gpfdist/Makefile b/src/bin/gpfdist/Makefile
index 13d06dc..4c1d436 100644
--- a/src/bin/gpfdist/Makefile
+++ b/src/bin/gpfdist/Makefile
@@ -60,6 +60,7 @@ mkgpfdist: mkdir
 
 	for file in $(GPFDISTFILES); do \
 	    ( $(CC) $(INCLUDES) $(CFLAGS) $(LIBS) -c $(code_dir)$${file}); \
+	    if [[ $$? -ne 0 ]]; then exit 1; fi \
 	done
 	# link
 	$(CC) $(CFLAGS) -o $(code_dir)gpfdist $(OBJS)  $(LIBS)


Mime
View raw message