Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions epicsdbbuilder/mydbstatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def ImportFunctions(epics_base, host_arch):
}
bits = platform.architecture()[0]
host_arch = system_map[(platform.system(), bits)]
if platform.system() == 'Darwin' and platform.processor() == 'arm':
host_arch = 'darwin-aarch64'

# So we can work with both EPICS 3.14 and 3.15, look for libdbCore.so first
# before falling back to the older libdbStaticHost.so
Expand All @@ -73,6 +75,9 @@ def ImportFunctions(epics_base, host_arch):
if platform.system() == 'Windows':
library_name_format = '{}.dll'
library_location = 'bin'
elif platform.system() == 'Darwin':
library_name_format = '{}.dylib'
library_location = 'lib'

try:
ImportFunctionsFrom(os.path.join(
Expand Down
Loading