Skip to content

Commit 5bbeaab

Browse files
authored
Merge pull request #3455 from ibuclaw/merge_stable
merge stable Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com> Signed-off-by: Vladimir Panteleev <CyberShadow@users.noreply.github.com> Merged-on-behalf-of: Iain Buclaw <ibuclaw@users.noreply.github.com>
2 parents 9483c76 + 4307d6c commit 5bbeaab

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.100.2
1+
2.101.0

changelog/2.101.0_pre.dd renamed to changelog/2.101.0.dd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $(CHANGELOG_NAV_INJECT)
55
$(VERSION Nov 14, 2022, =================================================,
66

77
$(CHANGELOG_HEADER_STATISTICS
8-
$(VER) comes with 40 major changes and 63 fixed Bugzilla issues.
8+
$(VER) comes with 40 major changes and 64 fixed Bugzilla issues.
99
A huge thanks goes to the
1010
$(LINK2 #contributors, 63 contributors)
1111
who made $(VER) possible.)
@@ -921,6 +921,10 @@ $(LI $(BUGZILLA 23129): object.destroy doesn't consider initialize=false on D cl
921921
$(LI $(BUGZILLA 23228): OpenBSD: No SIGRTMIN or SIGRTMAX)
922922
$(LI $(BUGZILLA 23302): std.algorithm.comparison.predSwitch producing SwitchError with error message as the filename)
923923
)
924+
$(BUGSTITLE_BUGZILLA Druntime enhancements,
925+
926+
$(LI $(BUGZILLA 23456): OpenBSD: Add waitid support)
927+
)
924928
$(BUGSTITLE_BUGZILLA dlang.org bug fixes,
925929

926930
$(LI $(BUGZILLA 14542): Table of contents in specification PDF is broken)

download.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ Macros:
199199

200200
DMDV2=$(LATEST)
201201

202-
_=BETA=$(COMMENT $0)
203-
BETA=$0
202+
BETA=$(COMMENT $0)
203+
_=BETA=$0
204204
B_DMDV2=2.101.0
205205
B_SUFFIX=rc.1
206206

posix.mak

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ DUB_DIR=../dub
155155

156156
# Auto-cloning missing directories
157157
$(shell [ ! -d $(DMD_DIR) ] && git clone --depth=1 ${GIT_HOME}/dmd $(DMD_DIR))
158-
include $(DMD_DIR)/src/osmodel.mak
158+
include $(DMD_DIR)/compiler/src/osmodel.mak
159159

160160
# External binaries
161161
DMD=$(DMD_DIR)/generated/$(OS)/release/$(MODEL)/dmd
@@ -176,7 +176,7 @@ G=$(GENERATED)
176176
# Last released versions
177177
DMD_LATEST_DIR=$G/dmd-${LATEST}
178178
DMD_LATEST=$(DMD_LATEST_DIR)/generated/$(OS)/release/$(MODEL)/dmd
179-
DRUNTIME_LATEST_DIR=$G/druntime-${LATEST}
179+
DRUNTIME_LATEST_DIR=$G/dmd-${LATEST}/druntime
180180
PHOBOS_LATEST_DIR=$G/phobos-${LATEST}
181181

182182
# stable dub and dmd versions used to build dpl-docs
@@ -414,7 +414,7 @@ ${GENERATED}/${LATEST}.ddoc :
414414

415415
${GENERATED}/modlist-${LATEST}.ddoc : tools/modlist.d ${STABLE_DMD} $(DRUNTIME_LATEST_DIR) $(PHOBOS_LATEST_DIR) $(DMD_LATEST_DIR)
416416
mkdir -p $(dir $@)
417-
$(STABLE_RDMD) $< $(DRUNTIME_LATEST_DIR)/src $(PHOBOS_LATEST_DIR) $(DMD_LATEST_DIR)/src $(MOD_EXCLUDES_LATEST) \
417+
$(STABLE_RDMD) $< $(DRUNTIME_LATEST_DIR)/src $(PHOBOS_LATEST_DIR) $(DMD_LATEST_DIR)/compiler/src $(MOD_EXCLUDES_LATEST) \
418418
$(addprefix --internal=, dmd rt core.internal) \
419419
$(addprefix --dump , object std etc core dmd rt core.internal.array core.internal.util) >$@
420420

@@ -431,10 +431,9 @@ ${GENERATED}/modlist-prerelease.ddoc : tools/modlist.d ${STABLE_DMD} $(DRUNTIME_
431431
$(addprefix --dump , object std etc core dmd rt core.internal.array core.internal.util) >$@
432432

433433
# Run "make -j rebase" for rebasing all dox in parallel!
434-
rebase: rebase-dlang rebase-dmd rebase-druntime rebase-phobos
434+
rebase: rebase-dlang rebase-dmd rebase-phobos
435435
rebase-dlang: ; $(call REBASE,dlang.org)
436436
rebase-dmd: ; cd $(DMD_DIR) && $(call REBASE,dmd)
437-
rebase-druntime: ; cd $(DRUNTIME_DIR) && $(call REBASE,druntime)
438437
rebase-phobos: ; cd $(PHOBOS_DIR) && $(call REBASE,phobos)
439438

440439
clean:
@@ -575,12 +574,16 @@ $G/dblog_latest.ddoc: $G/dblog_latest.xml $(STABLE_DMD) tools/ddoc_xml_extractor
575574
# Git rules
576575
################################################################################
577576

577+
# Druntime is in the DMD repository.
578+
${DRUNTIME_DIR}: ${DMD_DIR}
579+
${DRUNTIME_LATEST_DIR}: ${DMD_LATEST_DIR}
580+
578581
# Clone snapshots of the latest official release of all main D repositories
579582
$G/%-${LATEST} :
580583
git clone -b v${LATEST} --depth=1 ${GIT_HOME}/$(notdir $*) $@
581584

582585
# Clone all main D repositories
583-
${DMD_DIR} ${DRUNTIME_DIR} ${PHOBOS_DIR} ${TOOLS_DIR} ${INSTALLER_DIR} ${DUB_DIR}:
586+
${DMD_DIR} ${PHOBOS_DIR} ${TOOLS_DIR} ${INSTALLER_DIR} ${DUB_DIR}:
584587
git clone ${GIT_HOME}/$(notdir $(@F)) $@
585588

586589
${DMD_DIR}/VERSION : ${DMD_DIR}
@@ -590,11 +593,11 @@ ${DMD_DIR}/VERSION : ${DMD_DIR}
590593
################################################################################
591594

592595
$(DMD) : ${DMD_DIR}
593-
${MAKE} --directory=${DMD_DIR}/src -f posix.mak AUTO_BOOTSTRAP=1
596+
${MAKE} --directory=${DMD_DIR}/compiler/src -f posix.mak AUTO_BOOTSTRAP=1
594597

595598
$(DMD_LATEST) : ${DMD_LATEST_DIR}
596-
${MAKE} --directory=${DMD_LATEST_DIR}/src -f posix.mak AUTO_BOOTSTRAP=1
597-
sed -i -e "s|../druntime/import |../druntime-${LATEST}/import |" -e "s|../phobos |../phobos-${LATEST} |" $@.conf
599+
${MAKE} --directory=${DMD_LATEST_DIR}/compiler/src -f posix.mak AUTO_BOOTSTRAP=1
600+
sed -i -e "s|../druntime/import |../../dmd-${LATEST}/druntime/import |" -e "s|../phobos |../phobos-${LATEST} |" $@.conf
598601

599602
dmd-prerelease : $(STD_DDOC_PRERELEASE) druntime-target $G/changelog/next-version
600603
$(MAKE) AUTO_BOOTSTRAP=1 --directory=$(DMD_DIR) -f posix.mak html $(DDOC_VARS_PRERELEASE_HTML)
@@ -716,21 +719,21 @@ $W/library-prerelease/.htaccess : dpl_prerelease_htaccess
716719

717720
$G/docs-latest.json : ${DMD_LATEST} ${DMD_LATEST_DIR} \
718721
${DRUNTIME_LATEST_DIR} | dpl-docs
719-
find ${DMD_LATEST_DIR}/src -name '*.d' -o -name '*.di' | sort -r | \
722+
find ${DMD_LATEST_DIR}/compiler/src -name '*.d' -o -name '*.di' | sort -r | \
720723
gawk '!n[gensub(/\.di?$$/, "", 1)]++' > $G/.latest-files.txt
721724
find ${DRUNTIME_LATEST_DIR}/src -name '*.d' | \
722725
sed -e /unittest.d/d -e /gcstub/d >> $G/.latest-files.txt
723726
find ${PHOBOS_LATEST_DIR}/etc ${PHOBOS_LATEST_DIR}/std -name '*.d' | \
724727
sed -e /unittest.d/d | sort >> $G/.latest-files.txt
725-
${DMD_LATEST} -J$(DMD_LATEST_DIR)/src/dmd/res -J$(dir $(DMD_LATEST)) -c -o- -version=CoreDdoc \
728+
${DMD_LATEST} -J$(DMD_LATEST_DIR)/compiler/src/dmd/res -J$(dir $(DMD_LATEST)) -c -o- -version=CoreDdoc \
726729
-version=MARS -version=CoreDdoc -version=StdDdoc -Df$G/.latest-dummy.html \
727730
-Xf$@ -I${PHOBOS_LATEST_DIR} @$G/.latest-files.txt
728731
${DPL_DOCS} ${DPL_DOCS_FLAGS} filter $@ --min-protection=Protected \
729732
--only-documented $(MOD_EXCLUDES_LATEST)
730733
rm -f $G/.latest-files.txt $G/.latest-dummy.html
731734

732735
$G/docs-prerelease.json : ${DMD} ${DMD_DIR} ${DRUNTIME_DIR} | dpl-docs
733-
find ${DMD_DIR}/src -name '*.d' -o -name '*.di' | sort -r | \
736+
find ${DMD_DIR}/compiler/src -name '*.d' -o -name '*.di' | sort -r | \
734737
gawk '!n[gensub(/\.di?$$/, "", 1)]++' > $G/.prerelease-files.txt
735738
find ${DRUNTIME_DIR}/src -name '*.d' | \
736739
sed -e /unittest/d >> $G/.prerelease-files.txt

0 commit comments

Comments
 (0)