Skip to content

Commit 13ec297

Browse files
committed
build: Linux ARM64 builds
1 parent d1ab39b commit 13ec297

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

prereqs/PyQt/Makefile.wheel.qt6

+4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ WE_WHEEL_PLATFORM = macosx_10_14_universal2
4444
MISSING_QTWEBENGINE_DICT = PyQt6/Qt6/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/qtwebengine_dictionaries
4545
else ifeq ($(OS),Linux)
4646
BIN_PLATFORM = linux
47+
ifeq ($(OSARCH),LinuxArm64)
48+
WHEEL_PLATFORM = manylinux_2_39_aarch64
49+
else
4750
WHEEL_PLATFORM = manylinux_2_28_x86_64
51+
endif
4852
WE_WHEEL_PLATFORM = $(WHEEL_PLATFORM)
4953
MISSING_QTWEBENGINE_DICT = PyQt6/Qt6/libexec/qtwebengine_dictionaries
5054
else ifeq ($(OS),Windows)

prereqs/pips/app_requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ netCDF4==1.6.5
3232
networkx==3.3
3333
numpy==1.26.4
3434
openvr==1.26.701
35-
openmm==8.2.0
35+
openmm==8.2.0 ; platform_machine != "aarch64"
3636
packaging==24.2
3737
# as per Tristan's request in ticket #3055
3838
ParmEd==4.2.2

src/bundles/md_crds/gromacs/Makefile.xdrfile

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ ifneq ($(filter $(MSYSTEM),MSYS MINGW64),)
4646
# Though it says 'mingw32' inspection of the generated static library shows x86_64
4747
cd $(XDRFILE_LIB_SOURCE) ; env $(ENV_CONFIGURE) ./configure --build=x86_64-w64-mingw32 --enable-shared --with-pic
4848
else
49+
ifeq ($(OSARCH),LinuxArm64)
50+
cd $(XDRFILE_LIB_SOURCE)/config ; rm config.guess ; wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
51+
cd $(XDRFILE_LIB_SOURCE)/config ; rm config.sub ; wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
52+
endif
4953
cd $(XDRFILE_LIB_SOURCE) ; env $(ENV_CONFIGURE) ./configure --enable-shared --with-pic
5054
endif
5155

0 commit comments

Comments
 (0)