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

CirrusCI: Fix the last few FreeBSD failures #3453

Merged
merged 4 commits into from
Jun 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ task:

task:
name: FreeBSD 12.1 x64
allow_failures: 1 == 1
freebsd_instance:
image_family: freebsd-12-1
cpu: 4
Expand All @@ -174,10 +173,24 @@ task:
CI_OS: freebsd
EXTRA_CMAKE_FLAGS: ""
PARALLELISM: 4
# use clang 9 for lld 9 with .deplibs (`pragma(lib)`) support
CC: /usr/local/llvm90/bin/clang
install_prerequisites_script: |
cd $CIRRUS_WORKING_DIR/..
sysctl -n hw.ncpu
pkg install -y git cmake ninja gmake llvm ldc bash
# Use FreeBSD's ldc as host D compiler
ln -s /usr/local host-ldc
clone_submodules_early_script: |
cd $CIRRUS_WORKING_DIR
git submodule update --init --depth $CIRRUS_CLONE_DEPTH
# Build a first LDC as host compiler for the actual build (FreeBSD's LDC is v1.14)
build_bootstrap_ldc_script: |
cd $CIRRUS_WORKING_DIR/..
mkdir host-ldc
cd host-ldc
cmake -G Ninja $CIRRUS_WORKING_DIR \
-DCMAKE_BUILD_TYPE=Release \
-DD_COMPILER=/usr/local/bin/ldmd2 \
-DBUILD_SHARED_LIBS=OFF
ninja -j$PARALLELISM
bin/ldc2 -version
<< : *COMMON_STEPS_TEMPLATE
2 changes: 1 addition & 1 deletion runtime/phobos
Submodule phobos updated 1 files
+20 −4 std/path.d