Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Ship reggae with prebuilt packages #3739

Merged
merged 1 commit into from
May 31, 2021
Merged

Conversation

kinke
Copy link
Member

@kinke kinke commented May 25, 2021

Incompatibilities with LDC and Windows in general have recently been fixed. @atilaneves is fine with reggae being included.

@kinke kinke force-pushed the reggae branch 3 times, most recently from 68f6b52 to ee02cb3 Compare May 25, 2021 20:13
Incompatibilities with LDC and Windows in general have recently been
fixed. @atilaneves is fine with reggae being included.
git clone --recursive https://github.com/atilaneves/reggae.git
cd reggae
git checkout "$(cat $BUILD_SOURCESDIRECTORY/packaging/reggae_version)"
DFLAGS="-O $DFLAGS" ../host-ldc/bin/dub build -v --build-mode=allAtOnce --combined \
Copy link
Member Author

@kinke kinke May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--build-mode=allAtOnce is a workaround for the dub issue fixed in dlang/dub#2135 - compiling & linking at once avoids the 'linker D flag' filtering.

--combined for a similar effect as LTO, compiling reggae and its dub library dependency to a single object file.

@kinke kinke merged commit b7c9f95 into ldc-developers:master May 31, 2021
@kinke kinke deleted the reggae branch May 31, 2021 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant