From 80fbe044ad7db52b371046c75d6eb7da06ac0a3e Mon Sep 17 00:00:00 2001 From: Alesandro Dragnev Date: Thu, 24 Oct 2024 15:37:45 +0300 Subject: [PATCH 1/6] Fix build macos action --- .github/actions/build-macos/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-macos/action.yml b/.github/actions/build-macos/action.yml index d499235b..d5b0a566 100644 --- a/.github/actions/build-macos/action.yml +++ b/.github/actions/build-macos/action.yml @@ -8,7 +8,7 @@ runs: run: | mkdir xerces-c cd xerces-c - curl -o xerces-c.zip https://dlcdn.apache.org/xerces/c/3/sources/xerces-c-3.2.5.zip + curl -o xerces-c.zip https://dlcdn.apache.org/xerces/c/3/sources/xerces-c-3.3.0.zip tar -xf xerces-c.zip --strip-components=1 - name: Xerces-C - build arm64 From d23b17732f847b9ef109cfceb1f5fbad58fee022 Mon Sep 17 00:00:00 2001 From: Alesandro Dragnev Date: Thu, 24 Oct 2024 16:36:43 +0300 Subject: [PATCH 2/6] Fixing macos --- .github/actions/build-macos/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-macos/action.yml b/.github/actions/build-macos/action.yml index d5b0a566..a6613f7e 100644 --- a/.github/actions/build-macos/action.yml +++ b/.github/actions/build-macos/action.yml @@ -15,7 +15,7 @@ runs: shell: bash working-directory: xerces-c run: | - ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" + ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" -Dxmlch-type=char16_t make -j make install From 97819f9b937804745c38692023f85508fc9d6a73 Mon Sep 17 00:00:00 2001 From: Alesandro Dragnev Date: Thu, 24 Oct 2024 16:39:56 +0300 Subject: [PATCH 3/6] fix char type --- .github/actions/build-macos/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-macos/action.yml b/.github/actions/build-macos/action.yml index a6613f7e..6aa7487a 100644 --- a/.github/actions/build-macos/action.yml +++ b/.github/actions/build-macos/action.yml @@ -15,7 +15,7 @@ runs: shell: bash working-directory: xerces-c run: | - ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" -Dxmlch-type=char16_t + ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" --enable-xmlch-char16_t make -j make install From dde8720ec99de497a9188aa2b9d424ae2e693983 Mon Sep 17 00:00:00 2001 From: Alesandro Dragnev Date: Thu, 24 Oct 2024 16:52:50 +0300 Subject: [PATCH 4/6] Fix char type v2 --- .github/actions/build-macos/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-macos/action.yml b/.github/actions/build-macos/action.yml index 6aa7487a..3da2b1d9 100644 --- a/.github/actions/build-macos/action.yml +++ b/.github/actions/build-macos/action.yml @@ -15,7 +15,7 @@ runs: shell: bash working-directory: xerces-c run: | - ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" --enable-xmlch-char16_t + ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" --enable-xmlch-wchar_t make -j make install From f20258134fff21f6bbfc353e8c4f9a1d0290c9ec Mon Sep 17 00:00:00 2001 From: Alesandro Dragnev Date: Thu, 24 Oct 2024 17:01:13 +0300 Subject: [PATCH 5/6] Fix v3 --- .github/actions/build-macos/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-macos/action.yml b/.github/actions/build-macos/action.yml index 3da2b1d9..1b6955c6 100644 --- a/.github/actions/build-macos/action.yml +++ b/.github/actions/build-macos/action.yml @@ -23,7 +23,7 @@ runs: shell: bash working-directory: xerces-c run: | - ./configure --disable-shared --prefix=$(pwd)/_build_mac_x64 CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" + ./configure --disable-shared --prefix=$(pwd)/_build_mac_x64 CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --enable-xmlch-wchar_t make -j make install From ccb01c4c7b669161763e98a033315a521dcf0a5e Mon Sep 17 00:00:00 2001 From: Vlad Stanev Date: Thu, 24 Oct 2024 11:56:17 -0400 Subject: [PATCH 6/6] Update action.yml --- .github/actions/build-macos/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-macos/action.yml b/.github/actions/build-macos/action.yml index 1b6955c6..cda7ec13 100644 --- a/.github/actions/build-macos/action.yml +++ b/.github/actions/build-macos/action.yml @@ -15,7 +15,7 @@ runs: shell: bash working-directory: xerces-c run: | - ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" --enable-xmlch-wchar_t + ./configure --disable-shared --prefix=$(pwd)/_build_mac_arm CFLAGS="-arch arm64" CXXFLAGS="-arch arm64" --enable-xmlch-uint16_t make -j make install @@ -23,7 +23,7 @@ runs: shell: bash working-directory: xerces-c run: | - ./configure --disable-shared --prefix=$(pwd)/_build_mac_x64 CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --enable-xmlch-wchar_t + ./configure --disable-shared --prefix=$(pwd)/_build_mac_x64 CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --enable-xmlch-uint16_t make -j make install