Skip to content

Commit

Permalink
Don't assume SSE is present (#160)
Browse files Browse the repository at this point in the history
* Don't assume SSE is present

* Add missing environment file
  • Loading branch information
peastman authored Nov 11, 2024
1 parent 5510c23 commit 53e8786
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,22 @@ jobs:
python-version: "3.10"
pytorch-version: "2.1.*"

- name: MacOS (Python 3.11, PyTorch 2.4)
- name: MacOS ARM (Python 3.11, PyTorch 2.4)
os: macos-latest
cuda-version: ""
gcc-version: ""
nvcc-version: ""
python-version: "3.11"
pytorch-version: "2.4.*"

- name: MacOS Intel (Python 3.11, PyTorch 2.4)
os: macos-13
cuda-version: ""
gcc-version: ""
nvcc-version: ""
python-version: "3.11"
pytorch-version: "2.4.*"


steps:
- name: "Check out"
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SET (CMAKE_CXX_STANDARD 17)
# Set flags for linking on mac
IF(APPLE)
SET (CMAKE_INSTALL_NAME_DIR "@rpath")
SET(EXTRA_COMPILE_FLAGS "-msse2 -stdlib=libc++")
SET(EXTRA_COMPILE_FLAGS "-stdlib=libc++")
ENDIF(APPLE)

# Select where to install
Expand Down
13 changes: 13 additions & 0 deletions devtools/conda-envs/build-macos-13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: build
channels:
- conda-forge
dependencies:
- cmake
- compilers
- make
- openmm >=8.2
- pip
- pytest
- python
- pytorch-cpu @PYTORCH_VERSION@
- swig
4 changes: 2 additions & 2 deletions devtools/conda-envs/build-macos-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ dependencies:
- cmake
- compilers
- make
- openmm >=8.1
- openmm >=8.2
- pip
- pytest
- python
- pytorch-cpu @PYTORCH_VERSION@
- swig
- swig

0 comments on commit 53e8786

Please sign in to comment.