Skip to content

Commit ff301dd

Browse files
committed
fixed platform issue for sure
1 parent c5f3e66 commit ff301dd

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.conda/elements/cuda/conda_build_config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ c_compiler:
33
cxx_compiler:
44
- gxx
55
target_platform:
6-
- linux-64
6+
- linux-64 # [linux]
77
#- linux-aarch64
88
#- linux-ppc64le
9+
- osx-64 # [osx]
10+
- osx-arm64 # [osx]

.conda/elements/cuda/meta.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ build:
1414
number: 1
1515
noarch: False
1616
script_env:
17-
- PLATFORM={{ target_platform }} # [linux]
17+
- PLATFORM={{ target_platform }}
1818
skip: True # [osx]
1919
skip: False # [linux]
2020

21-
requirements: # [linux]
21+
requirements:
2222
build:
2323
- cmake >=3.17.0
24-
- {{ compiler('cxx') }}={{ linux_compiler_version }} # [linux]
25-
#- {{ compiler('cxx') }}={{ macos_compiler_version }} # [osx]
24+
- {{ compiler('cxx') }}={{ linux_compiler_version }}
2625
- cuda-toolkit
2726
- matar-cuda
2827
- openmpi

.conda/matar/cuda/conda_build_config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ c_compiler:
33
cxx_compiler:
44
- gxx
55
target_platform:
6-
- linux-64
6+
- linux-64 # [linux]
77
#- linux-aarch64
88
#- linux-ppc64le
9+
- osx-64 # [osx]
10+
- osx-arm64 # [osx]

.conda/matar/cuda/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ build:
1414
number: 1
1515
noarch: False
1616
script_env:
17-
- PLATFORM={{ target_platform }} # [linux]
17+
- PLATFORM={{ target_platform }}
1818
skip: True # [osx]
1919
skip: False # [linux]
2020

21-
requirements: #[linux]
21+
requirements:
2222
build:
2323
- cmake >=3.17.0
2424
- {{ compiler('cxx') }}={{ linux_compiler_version }}

0 commit comments

Comments
 (0)