Skip to content

Commit

Permalink
Use osx-x64 for mac rid rather than macos. (#5288)
Browse files Browse the repository at this point in the history
  • Loading branch information
Choc13 committed May 20, 2021
1 parent 03d2c5f commit 9cc1549
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/mk_nuget_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def download_installs():
'x64-win' : ('dll', 'win-x64'),
# Skip x86 as I can't get dotnet build to produce AnyCPU TargetPlatform
# 'x86-win' : ('dll', 'win-x86'),
'osx' : ('dylib', 'macos'),
'osx' : ('dylib', 'osx-x64'),
'debian' : ('so', 'debian.8-x64') }

def classify_package(f):
Expand All @@ -69,7 +69,7 @@ def unpack():
# +- ubuntu.16.04-x64
# +- ubuntu.14.04-x64
# +- debian.8-x64
# +- macos
# +- osx-x64
# +
for f in os.listdir("packages"):
print(f)
Expand Down
4 changes: 2 additions & 2 deletions scripts/mk_nuget_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def mk_dir(d):
'glibc-2.31' : ('so', 'glibc-x64'),
'x64-win' : ('dll', 'win-x64'),
'x86-win' : ('dll', 'win-x86'),
'osx' : ('dylib', 'macos'),
'osx' : ('dylib', 'osx-x64'),
'debian' : ('so', 'debian.8-x64') }

def classify_package(f):
Expand All @@ -52,7 +52,7 @@ def unpack(packages, symbols):
# +- win-x64
# +- win-x86
# +- ubuntu-x64
# +- macos
# +- osx-x64
# +
tmp = "tmp" if not symbols else "tmpsym"
for f in os.listdir(packages):
Expand Down
2 changes: 1 addition & 1 deletion src/api/dotnet/Microsoft.Z3.csproj.in
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ${Z3_DOTNET_COMPILE_ITEMS}
<PackagePath>runtimes\linux-x64\native</PackagePath>
</Content>
<Content Include="${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.dylib" Condition="Exists('${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libz3.dylib')">
<PackagePath>runtimes\macos\native</PackagePath>
<PackagePath>runtimes\osx-x64\native</PackagePath>
</Content>
</ItemGroup>

Expand Down

0 comments on commit 9cc1549

Please sign in to comment.