Skip to content

Commit 7b06c2a

Browse files
committed
---
yaml --- r: 109503 b: refs/heads/dist-snap c: d2686c7 h: refs/heads/master i: 109501: d3699ff 109499: e77e528 109495: 63ebc65 109487: e7a54d4 109471: 5b56eb9 109439: e336a6d v: v3
1 parent 4bbd398 commit 7b06c2a

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 84e9c0692ab7b42fb3b25ab602a766c0e74a3c71
9+
refs/heads/dist-snap: d2686c751a45b18dd039dbca86c745dfa2c39f6b
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/mk/dist.mk

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ $(PKG_TAR): $(PKG_FILES)
7979
--exclude=*/llvm/test/*/*/*.td \
8080
--exclude=*/llvm/test/*/*/*.s \
8181
-c $(UNROOTED_PKG_FILES) | tar -x -C tmp/dist/$(PKG_NAME)
82+
@$(call E, making $@)
8283
$(Q)tar -czf $(PKG_TAR) -C tmp/dist $(PKG_NAME)
8384
$(Q)rm -Rf tmp/dist/$(PKG_NAME)
8485

@@ -282,9 +283,19 @@ distcheck: distcheck-win
282283

283284
else
284285

285-
dist: dist-tar-src dist-osx dist-tar-bins dist-docs
286+
# FIXME #13224: On OS X don't produce tarballs simply because --exclude-vcs don't work.
287+
# This is a huge hack because I just don't have time to figure out another solution.
288+
ifeq ($(CFG_OSTYPE), apple-darwin)
289+
MAYBE_DIST_TAR_SRC=
290+
MAYBE_DISTCHECK_TAR_SRC=
291+
else
292+
MAYBE_DIST_TAR_SRC=dist-tar-src
293+
MAYBE_DISTCHECK_TAR_SRC=distcheck-tar-src
294+
endif
295+
296+
dist: $(MAYBE_DIST_TAR_SRC) dist-osx dist-tar-bins dist-docs
286297

287-
distcheck: distcheck-tar-src distcheck-osx distcheck-tar-bins distcheck-docs
298+
distcheck: $(MAYBE_DISTCHECK_TAR_SRC) distcheck-osx distcheck-tar-bins distcheck-docs
288299
$(Q)rm -Rf tmp/distcheck
289300
@echo
290301
@echo -----------------------------------------------

0 commit comments

Comments
 (0)