Skip to content

Commit

Permalink
Windows fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Dec 27, 2023
1 parent 27c048f commit 67c36d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-qt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
"-Xcc=$HOME/MacOSX11.0.sdk",
"-Xcc=-F",
"-Xcc=$HOME/ldc2-1.33.0-osx-x86_64/lib",
"-Xcc=-mmacosx-version-min=11.0",
"-Xcc=-mmacosx-version-min=12.0",
"-defaultlib=phobos2-ldc,druntime-ldc",
];
// default switches appended after all explicit command-line switches
Expand All @@ -101,8 +101,8 @@ jobs:
mkdir $HOME/ldc-macos
curl -LO https://github.com/ldc-developers/ldc/releases/download/v1.33.0/ldc2-1.33.0-osx-x86_64.tar.xz
tar -xf ./ldc2-1.33.0-osx-x86_64.tar.xz -C $HOME
brew fetch --force --bottle-tag=sonoma llvm@16
brew install $(brew --cache --bottle-tag=sonoma llvm@16)
brew fetch --force --bottle-tag=monterey llvm@16
brew install $(brew --cache --bottle-tag=monterey llvm@16)
cp /home/linuxbrew/.linuxbrew/Cellar/llvm@16/16.0.6/lib/c++/* $HOME/ldc2-1.33.0-osx-x86_64/lib
rm -rf /home/linuxbrew/.linuxbrew
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
"-Xcc=$HOME/MacOSX11.0.sdk",
"-Xcc=-F",
"-Xcc=$HOME/ldc2-1.33.0-osx-arm64/lib",
"-Xcc=-mmacosx-version-min=11.0",
"-Xcc=-mmacosx-version-min=12.0",
"-defaultlib=phobos2-ldc,druntime-ldc",
];
// default switches appended after all explicit command-line switches
Expand All @@ -197,8 +197,8 @@ jobs:
mkdir $HOME/ldc-macos
curl -LO https://github.com/ldc-developers/ldc/releases/download/v1.33.0/ldc2-1.33.0-osx-arm64.tar.xz
tar -xf ./ldc2-1.33.0-osx-arm64.tar.xz -C $HOME
brew fetch --force --bottle-tag=arm64_sonoma llvm@16
brew install $(brew --cache --bottle-tag=arm64_sonoma llvm@16)
brew fetch --force --bottle-tag=arm64_monterey llvm@16
brew install $(brew --cache --bottle-tag=arm64_monterey llvm@16)
cp /home/linuxbrew/.linuxbrew/Cellar/llvm@16/16.0.6/lib/c++/* $HOME/ldc2-1.33.0-osx-arm64/lib
rm -rf /home/linuxbrew/.linuxbrew
Expand Down
5 changes: 0 additions & 5 deletions dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@
],

"libs-windows": [
"ucrtbase",
"netapi32",
"ole32",
"uuid",
"vcruntime140",
"Qt5Bootstrap",
"Qt5Core",
"Qt5Gui",
Expand Down

0 comments on commit 67c36d6

Please sign in to comment.