Skip to content

Update ChangeLog

Update ChangeLog #51

Workflow file for this run

on:
push:
branches: [ master ]
pull_request:
jobs:
macos:
runs-on: macos-latest
env:
LDFLAGS: -L/usr/local/opt/openblas/lib
CPPFLAGS: -I/usr/local/opt/openblas/include
steps:
- uses: actions/checkout@v3
- run: |
brew upgrade
brew install openblas swig boost python3 tbb nlopt cminpack ceres-solver bison flex hdf5 ipopt primesieve spectra pagmo
pip3 install matplotlib "numpy<1.25" scipy chaospy pandas dill
- run: |
cd $HOME/work/openturns
git clone -b 1.8.1 https://github.com/jeromerobert/hmat-oss.git hmat-oss
cd hmat-oss/
git cherry-pick dd1b8daf
cmake -DBUILD_EXAMPLES=OFF -DCBLAS_INCLUDE_DIR=/usr/local/opt/openblas/include -DCMAKE_MACOSX_RPATH=ON .
make install -j3
- run: |
cmake \
-DPython_EXECUTABLE=/usr/local/bin/python3 \
-DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex \
-DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror" \
-DSWIG_COMPILE_FLAGS="-O1 -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations" \
-DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 .
make install -j3
make tests -j3
OPENTURNS_NUM_THREADS=2 OMP_NUM_THREADS=1 ctest -E GeneralizedParetoFactory_std -j3 --output-on-failure --timeout 100 --schedule-random
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install
shell: cmd
run: |
curl -LO https://github.com/xianyi/OpenBLAS/releases/download/v0.3.17/OpenBLAS-0.3.17-x64.zip
mkdir -p C:\Libraries\openblas
7z x OpenBLAS-0.3.17-x64.zip -oC:\Libraries\openblas > nul
choco install winflexbison3
- name: Build
shell: cmd
run: |
mkdir build && cd build
cmake -LAH -DCMAKE_INSTALL_PREFIX=%cd:\=/%/install -DLAPACK_LIBRARIES=C:/Libraries/openblas/lib/libopenblas.dll.a -DCMAKE_SHARED_LINKER_FLAGS_RELEASE="/OPT:NOREF /INCREMENTAL:NO" -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=16 -DSWIG_COMPILE_FLAGS="/bigobj" ..
cmake --build . --config Release --target install
xcopy install\bin\OT.dll install\Lib\site-packages\openturns
xcopy C:\Libraries\openblas\bin\libopenblas.dll install\Lib\site-packages\openturns
ctest -C Release --output-on-failure --timeout 100 -E "cppcheck|Sequence|Sample_computation|InverseBox|Hypergeometric" -j2 --repeat after-timeout:2 --schedule-random
aarch64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: |
docker pull openturns/debian-aarch64
docker run --rm -e MAKEFLAGS='-j2' -v `pwd`:/io openturns/debian-aarch64 /io/.ci_support/run_docker_aarch64.sh