Skip to content

Commit ad061a1

Browse files
committed
---
yaml --- r: 93289 b: refs/heads/try c: bee40a9 h: refs/heads/master i: 93287: baf749b v: v3
1 parent 9f4323f commit ad061a1

File tree

197 files changed

+2551
-3053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+2551
-3053
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: a6d3e57dca68fde4effdda3e4ae2887aa535fcd6
5-
refs/heads/try: 357ef1f69cd1ffbd3c36a9e7e171b10263d94139
5+
refs/heads/try: bee40a9f984614f91626686246165111dd980359
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/mk/install.mk

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ else
2323
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 $(1)/$(3) $(2)/$(3)
2424
endif
2525

26+
# For MK_INSTALL_DIR
27+
# $(1) is the directory to create
28+
MK_INSTALL_DIR = (umask 022 && mkdir -p $(1))
29+
2630
# For INSTALL_LIB,
2731
# Target-specific $(LIB_SOURCE_DIR) is the source directory
2832
# Target-specific $(LIB_DESTIN_DIR) is the destination directory
@@ -83,7 +87,7 @@ define INSTALL_TARGET_N
8387
install-target-$(1)-host-$(2): LIB_SOURCE_DIR=$$(TL$(1)$(2))
8488
install-target-$(1)-host-$(2): LIB_DESTIN_DIR=$$(PTL$(1)$(2))
8589
install-target-$(1)-host-$(2): $$(TSREQ$$(ISTAGE)_T_$(1)_H_$(2)) $$(SREQ$$(ISTAGE)_T_$(1)_H_$(2))
86-
$$(Q)mkdir -p $$(PTL$(1)$(2))
90+
$$(Q)$$(call MK_INSTALL_DIR,$$(PTL$(1)$(2)))
8791
$$(Q)$$(call INSTALL_LIB,$$(CFG_RUNTIME_$(1)))
8892
$$(Q)$$(call INSTALL_LIB,$$(STDLIB_GLOB_$(1)))
8993
$$(Q)$$(call INSTALL_LIB,$$(EXTRALIB_GLOB_$(1)))
@@ -95,7 +99,7 @@ define INSTALL_HOST_N
9599
install-target-$(1)-host-$(2): LIB_SOURCE_DIR=$$(TL$(1)$(2))
96100
install-target-$(1)-host-$(2): LIB_DESTIN_DIR=$$(PTL$(1)$(2))
97101
install-target-$(1)-host-$(2): $$(CSREQ$$(ISTAGE)_T_$(1)_H_$(2))
98-
$$(Q)mkdir -p $$(PTL$(1)$(2))
102+
$$(Q)$$(call MK_INSTALL_DIR,$$(PTL$(1)$(2)))
99103
$$(Q)$$(call INSTALL_LIB,$$(CFG_RUNTIME_$(1)))
100104
$$(Q)$$(call INSTALL_LIB,$$(CFG_RUSTLLVM_$(1)))
101105
$$(Q)$$(call INSTALL_LIB,$$(STDLIB_GLOB_$(1)))
@@ -131,9 +135,9 @@ PHL = $(PREFIX_LIB)
131135
install-host: LIB_SOURCE_DIR=$(HL)
132136
install-host: LIB_DESTIN_DIR=$(PHL)
133137
install-host: $(CSREQ$(ISTAGE)_T_$(CFG_BUILD_TRIPLE)_H_$(CFG_BUILD_TRIPLE))
134-
$(Q)mkdir -p $(PREFIX_BIN)
135-
$(Q)mkdir -p $(PREFIX_LIB)
136-
$(Q)mkdir -p $(PREFIX_ROOT)/share/man/man1
138+
$(Q)$(call MK_INSTALL_DIR,$(PREFIX_BIN))
139+
$(Q)$(call MK_INSTALL_DIR,$(PREFIX_LIB))
140+
$(Q)$(call MK_INSTALL_DIR,$(PREFIX_ROOT)/share/man/man1)
137141
$(Q)$(call INSTALL,$(HB2),$(PHB),rustc$(X_$(CFG_BUILD_TRIPLE)))
138142
$(Q)$(call INSTALL,$(HB2),$(PHB),rustpkg$(X_$(CFG_BUILD_TRIPLE)))
139143
$(Q)$(call INSTALL,$(HB2),$(PHB),rustdoc$(X_$(CFG_BUILD_TRIPLE)))

branches/try/src/etc/licenseck.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676
"rt/isaac/randport.cpp", # public domain
7777
"rt/isaac/rand.h", # public domain
7878
"rt/isaac/standard.h", # public domain
79+
"libstd/rt/mpsc_queue.rs", # BSD
80+
"libstd/rt/mpmc_bounded_queue.rs", # BSD
7981
]
8082

8183
def check_license(name, contents):

0 commit comments

Comments
 (0)