diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index de561c8fb..726309fd0 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -17,12 +17,20 @@ jobs: version: 22.04 windows-msvc: - if: ${{ vars.CURRENT_TOOL == github.workflow }} - uses: ./.github/workflows/build-windows.yml - with: - workflow: ${{ github.workflow }} - toolset: msvc - version: 2022 + steps: + - name: Install OpenSSL (Windows) + if: ${{ vars.CURRENT_TOOL == github.workflow }} + shell: powershell + run: | + vcpkg install openssl:x64-windows + + - name: build-windows + if: ${{ vars.CURRENT_TOOL == github.workflow }} + uses: ./.github/workflows/build-windows.yml + with: + workflow: ${{ github.workflow }} + toolset: msvc + version: 2022 test-alpine: needs: alpine-musl diff --git a/mysql/release/_cache_line_size.patch b/mysql/release/_cache_line_size.patch deleted file mode 100644 index 2e8c38e07..000000000 --- a/mysql/release/_cache_line_size.patch +++ /dev/null @@ -1,23 +0,0 @@ -# commit dcfbe3e4b7ad1ded9b17fa04743e9f97b8aad9fa -# Author: Sam James -# Date: Sun Apr 9 04:04:06 2023 +0100 -# -# sql/memory: Fix build on musl -# -# _SC_LEVEL1_DCACHE_LINESIZE is not always available on Linux, e.g. with musl libc. -# -# It's provided by glibc instead and is a glibc-internal. -# -# diff --git a/sql/memory/aligned_atomic.h b/sql/memory/aligned_atomic.h -# index d13d45b9dee..bd19c0cf4d6 100644 ---- a/sql/memory/aligned_atomic.h -+++ b/sql/memory/aligned_atomic.h -@@ -76,7 +76,7 @@ static inline size_t _cache_line_size() { - return line_size; - } - --#elif defined(__linux__) -+#elif defined(__GLIBC__) - static inline size_t _cache_line_size() { - long size = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); - if (size == -1) return 64;