"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".cirrus.yml" between
ldc-1.32.1.tar.gz and ldc-1.32.2.tar.gz

About: LDC is a LLVM-based D compiler.

.cirrus.yml  (ldc-1.32.1):.cirrus.yml  (ldc-1.32.2)
skipping to change at line 105 skipping to change at line 105
run_lto_integration_test_script: | run_lto_integration_test_script: |
cd $CIRRUS_WORKING_DIR/.. cd $CIRRUS_WORKING_DIR/..
installed/bin/ldc2 hello.d -of=hello_thin -flto=thin -defaultlib=phobos2-ldc -lto,druntime-ldc-lto installed/bin/ldc2 hello.d -of=hello_thin -flto=thin -defaultlib=phobos2-ldc -lto,druntime-ldc-lto
./hello_thin ./hello_thin
installed/bin/ldc2 hello.d -of=hello_full -flto=full -defaultlib=phobos2-ldc -lto,druntime-ldc-lto installed/bin/ldc2 hello.d -of=hello_full -flto=full -defaultlib=phobos2-ldc -lto,druntime-ldc-lto
./hello_full ./hello_full
# Run dynamic-compile integration test # Run dynamic-compile integration test
run_dynamic_compile_integration_test_script: | run_dynamic_compile_integration_test_script: |
cd $CIRRUS_WORKING_DIR/.. cd $CIRRUS_WORKING_DIR/..
# FIXME: disabled since LLVM 12, needs https://github.com/ldc-developers/ldc /pull/3184 # FIXME: disabled since LLVM 12, needs https://github.com/ldc-developers/ldc /pull/3184
if [[ "$CI_OS" == "freebsd" ]]; then if false; then
installed/bin/ldc2 -enable-dynamic-compile -run $CIRRUS_WORKING_DIR/tests/ dynamiccompile/array.d installed/bin/ldc2 -enable-dynamic-compile -run $CIRRUS_WORKING_DIR/tests/ dynamiccompile/array.d
fi fi
# Run ImportC integration test # Run ImportC integration test
run_importC_integration_test_script: | run_importC_integration_test_script: |
cd $CIRRUS_WORKING_DIR/.. cd $CIRRUS_WORKING_DIR/..
installed/bin/ldc2 -run $CIRRUS_WORKING_DIR/tests/dmd/runnable/test22597.c installed/bin/ldc2 -run $CIRRUS_WORKING_DIR/tests/dmd/runnable/test22597.c
# Build & copy dub # Build & copy dub
build_dub_script: | build_dub_script: |
cd $CIRRUS_WORKING_DIR/.. cd $CIRRUS_WORKING_DIR/..
export DMD=$PWD/installed/bin/ldmd2 export DMD=$PWD/installed/bin/ldmd2
skipping to change at line 390 skipping to change at line 390
-DLLVM_ROOT_DIR=$PWD/../llvm \ -DLLVM_ROOT_DIR=$PWD/../llvm \
-DD_COMPILER=$PWD/../host-ldc/bin/ldmd2 \ -DD_COMPILER=$PWD/../host-ldc/bin/ldmd2 \
-DBUILD_SHARED_LIBS=OFF \ -DBUILD_SHARED_LIBS=OFF \
-DBUILD_LTO_LIBS=ON -DBUILD_LTO_LIBS=ON
ninja -j$PARALLELISM ninja -j$PARALLELISM
bin/ldc2 -version bin/ldc2 -version
<< : *COMMON_STEPS_TEMPLATE << : *COMMON_STEPS_TEMPLATE
<< : *PACKAGING_STEPS_TEMPLATE << : *PACKAGING_STEPS_TEMPLATE
task: task:
name: FreeBSD 12.2 x64 name: FreeBSD 12.4 x64
freebsd_instance: freebsd_instance:
image_family: freebsd-12-2 image_family: freebsd-12-4
cpu: 4 cpu: 4
memory: 8G memory: 8G
timeout_in: 60m timeout_in: 60m
environment: environment:
CI_ARCH: x86_64 CI_ARCH: x86_64
CI_OS: freebsd CI_OS: freebsd
EXTRA_CMAKE_FLAGS: >- EXTRA_CMAKE_FLAGS: >-
-DBUILD_LTO_LIBS=ON -DBUILD_LTO_LIBS=ON
-DD_COMPILER_FLAGS="-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc -lto" -DD_COMPILER_FLAGS="-O -flto=full -defaultlib=phobos2-ldc-lto,druntime-ldc -lto"
-DEXTRA_CXXFLAGS=-flto=full -DEXTRA_CXXFLAGS=-flto=full
PARALLELISM: 4 PARALLELISM: 4
# use clang from the `llvm` ports package to be installed, incl. lld support CC: clang
for .deplibs (`pragma(lib, "execinfo")`)
CC: clang90
install_prerequisites_script: | install_prerequisites_script: |
cd $CIRRUS_WORKING_DIR/.. cd $CIRRUS_WORKING_DIR/..
sysctl -n hw.ncpu sysctl -n hw.ncpu
pkg install -y git cmake ninja gmake llvm bash gtar 7-zip pkg install -y git cmake ninja gmake llvm bash gtar 7-zip ldc
python3 --version python3 --version
python3 -m ensurepip python3 -m ensurepip
# Download & extract host LDC
curl -fL --retry 3 --max-time 300 -o ldc2.tar.xz https://github.com/ldc-deve
lopers/ldc/releases/download/v$HOST_LDC_VERSION/ldc2-$HOST_LDC_VERSION-freebsd-$
CI_ARCH.tar.xz
mkdir pre-ldc
gtar -xf ldc2.tar.xz --strip 1 -C pre-ldc
clone_submodules_early_script: | clone_submodules_early_script: |
cd $CIRRUS_WORKING_DIR cd $CIRRUS_WORKING_DIR
git submodule update --init --depth $CIRRUS_CLONE_DEPTH git submodule update --init --depth $CIRRUS_CLONE_DEPTH
# Build a first LDC as host compiler for the actual build # Build a first LDC as host compiler for the actual build
build_bootstrap_ldc_script: | build_bootstrap_ldc_script: |
cd $CIRRUS_WORKING_DIR/.. cd $CIRRUS_WORKING_DIR/..
mkdir host-ldc mkdir host-ldc
cd host-ldc cd host-ldc
cmake -G Ninja $CIRRUS_WORKING_DIR \ cmake -G Ninja $CIRRUS_WORKING_DIR \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DD_COMPILER=$PWD/../pre-ldc/bin/ldmd2 \ -DD_COMPILER=ldmd2 \
-DBUILD_SHARED_LIBS=OFF \ -DBUILD_SHARED_LIBS=OFF \
-DBUILD_LTO_LIBS=ON -DBUILD_LTO_LIBS=ON
ninja -j$PARALLELISM ninja -j$PARALLELISM
bin/ldc2 -version bin/ldc2 -version
<< : *COMMON_STEPS_TEMPLATE << : *COMMON_STEPS_TEMPLATE
<< : *PACKAGING_STEPS_TEMPLATE << : *PACKAGING_STEPS_TEMPLATE
 End of changes. 7 change blocks. 
14 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)