Skip to content

Commit

Permalink
[wip] so! compilers!! tell me what's up!
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Jul 9, 2022
1 parent ddd858d commit 536bf0b
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 108 deletions.
203 changes: 107 additions & 96 deletions package/ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,111 +2,111 @@ clone_depth: 1

environment:
matrix:
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
APPVEYOR_JOB_NAME: windows-msvc2015
CONFIGURATION: Debug
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
APPVEYOR_JOB_NAME: windows-msvc2017
CONFIGURATION: Debug
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
APPVEYOR_JOB_NAME: windows-msvc2019
CONFIGURATION: Debug
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
APPVEYOR_JOB_NAME: windows-msvc2022
CONFIGURATION: Debug
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
APPVEYOR_JOB_NAME: windows-static-msvc2019
CONFIGURATION: Debug
BUILD_STATIC: ON
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
APPVEYOR_JOB_NAME: windows-static-msvc2022
CONFIGURATION: Debug
BUILD_STATIC: ON
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
#APPVEYOR_JOB_NAME: windows-msvc2015
#CONFIGURATION: Debug
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
#APPVEYOR_JOB_NAME: windows-msvc2017
#CONFIGURATION: Debug
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
#APPVEYOR_JOB_NAME: windows-msvc2019
#CONFIGURATION: Debug
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
#APPVEYOR_JOB_NAME: windows-msvc2022
#CONFIGURATION: Debug
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
#APPVEYOR_JOB_NAME: windows-static-msvc2019
#CONFIGURATION: Debug
#BUILD_STATIC: ON
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
#APPVEYOR_JOB_NAME: windows-static-msvc2022
#CONFIGURATION: Debug
#BUILD_STATIC: ON
- TARGET: desktop
COMPILER: msvc-clang
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
APPVEYOR_JOB_NAME: windows-msvc2019-clang
CONFIGURATION: Debug
- TARGET: desktop
COMPILER: msvc-clang
ANSI_COLORS: ON
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
APPVEYOR_JOB_NAME: windows-msvc2022-clang
CONFIGURATION: Debug
#- TARGET: desktop
#COMPILER: msvc-clang
#ANSI_COLORS: ON
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
#APPVEYOR_JOB_NAME: windows-msvc2022-clang
#CONFIGURATION: Debug
# Build the 32bit and non-ANSI as Release, one on 2015 and one on 2017, so we
# catch things that are not a problem on either with 64bit and Debug.
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
PLATFORM:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
APPVEYOR_JOB_NAME: windows-32b-msvc2015
CONFIGURATION: Release
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: OFF
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
APPVEYOR_JOB_NAME: windows-noansi-msvc2017
CONFIGURATION: Release
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
# On MSVC 2017 /permissive- dies on an ambiguous Debug::operator<<() for
# const char[], unable to pick between const char* and StringView. Sigh.
#
# On MSVC 2019 without /EHsc it dies on an assert inside Tester.cpp,
# probably due to a lot of "warning C4530: C++ exception handler used, but
# unwind semantics are not enabled. Specify /EHsc" messages printed before.
# Not sure why is that NOT a problem without /permissive-.
COMPILER_EXTRA: -DCMAKE_CXX_FLAGS="/permissive- /EHsc" -DCORRADE_MSVC_COMPATIBILITY=OFF
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
APPVEYOR_JOB_NAME: windows-conforming-msvc2019
CONFIGURATION: Debug
- TARGET: desktop
COMPILER: msvc
ANSI_COLORS: ON
# Not playing with fire and using /EHsc on 2022 as well
COMPILER_EXTRA: -DCMAKE_CXX_FLAGS="/permissive- /EHsc" -DCORRADE_MSVC_COMPATIBILITY=OFF
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
APPVEYOR_JOB_NAME: windows-conforming-msvc2022
CONFIGURATION: Debug
- TARGET: desktop
COMPILER: mingw
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
APPVEYOR_JOB_NAME: windows-mingw
- TARGET: rt
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
APPVEYOR_JOB_NAME: windows-rt-msvc2017
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
#PLATFORM:
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
#APPVEYOR_JOB_NAME: windows-32b-msvc2015
#CONFIGURATION: Release
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: OFF
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
#APPVEYOR_JOB_NAME: windows-noansi-msvc2017
#CONFIGURATION: Release
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
## On MSVC 2017 /permissive- dies on an ambiguous Debug::operator<<() for
## const char[], unable to pick between const char* and StringView. Sigh.
##
## On MSVC 2019 without /EHsc it dies on an assert inside Tester.cpp,
## probably due to a lot of "warning C4530: C++ exception handler used, but
## unwind semantics are not enabled. Specify /EHsc" messages printed before.
## Not sure why is that NOT a problem without /permissive-.
#COMPILER_EXTRA: -DCMAKE_CXX_FLAGS="/permissive- /EHsc" -DCORRADE_MSVC_COMPATIBILITY=OFF
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
#APPVEYOR_JOB_NAME: windows-conforming-msvc2019
#CONFIGURATION: Debug
#- TARGET: desktop
#COMPILER: msvc
#ANSI_COLORS: ON
## Not playing with fire and using /EHsc on 2022 as well
#COMPILER_EXTRA: -DCMAKE_CXX_FLAGS="/permissive- /EHsc" -DCORRADE_MSVC_COMPATIBILITY=OFF
#PLATFORM: x64
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
#APPVEYOR_JOB_NAME: windows-conforming-msvc2022
#CONFIGURATION: Debug
#- TARGET: desktop
#COMPILER: mingw
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
#APPVEYOR_JOB_NAME: windows-mingw
#- TARGET: rt
#APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
#APPVEYOR_JOB_NAME: windows-rt-msvc2017

install:
# Ninja. `cinst ninja` started 503ing in late November 2019 and wasn't really
Expand All @@ -117,6 +117,17 @@ install:
- set PATH=C:/tools/ninja;%PATH%
- IF "%TARGET%" == "desktop" IF "%COMPILER%" == "mingw" pip install codecov

- cd "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\Llvm\lib\clang\12.0.0\include\"
- type immintrin.h
- rem OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
- type avxintrin.h
- rem OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
- type smmintrin.h
- rem OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
- type nmmintrin.h
- rem OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
- type emmintrin.h

build_script:
- IF NOT "%BUILD_STATIC%" == "ON" set BUILD_STATIC=OFF
- IF "%TARGET%" == "desktop" IF "%COMPILER:~0,4%" == "msvc" call package\ci\appveyor-desktop.bat
Expand Down
24 changes: 12 additions & 12 deletions package/ci/circleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,15 +363,15 @@ workflows:
version: 2
build:
jobs:
- linux
- linux-arm64
- linux-static
- linux-nondeprecated
- linux-sanitizers
- linux-threadsanitizer
- macos
- macos-static
- emscripten
- android-x86
- ios
- acme
#- linux
#- linux-arm64
#- linux-static
#- linux-nondeprecated
#- linux-sanitizers
#- linux-threadsanitizer
#- macos
#- macos-static
#- emscripten
#- android-x86
#- ios
#- acme

0 comments on commit 536bf0b

Please sign in to comment.