File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -136,22 +136,6 @@ def build_extension(self, ext: CMakeExtension) -> None:
136
136
"-DCMAKE_OSX_ARCHITECTURES={}" .format (";" .join (archs ))
137
137
)
138
138
139
- # Get the location of Homebrew prefix and specify the location of OpenCL headers for macOS
140
- homebrew_prefix = (
141
- subprocess .check_output (["brew" , "--prefix" ]).decode ().strip ()
142
- )
143
- opencl_headers_dir = (
144
- f"{ homebrew_prefix } /opt/opencl-headers/share/cmake/OpenCLHeaders"
145
- )
146
- opencl_headerscpp_dir = f"{ homebrew_prefix } /opt/opencl-clhpp-headers/share/cmake/OpenCLHeadersCpp"
147
- cmake_args .extend (
148
- [
149
- f"-DOpenCLHeaders_DIR={ opencl_headers_dir } " ,
150
- f"-DOpenCLHeadersCpp_DIR={ opencl_headerscpp_dir } " ,
151
- f"-DCMAKE_PREFIX_PATH={ homebrew_prefix } " ,
152
- ]
153
- )
154
-
155
139
print (f"[DEBUG] cmake_args: { cmake_args } " )
156
140
157
141
# Set CMAKE_BUILD_PARALLEL_LEVEL to control the parallel build level
You can’t perform that action at this time.
0 commit comments