Skip to content

Commit

Permalink
more pipelines fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbingl committed Jan 25, 2024
1 parent 9e88464 commit a04860f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,8 @@ stages:
-DOCOS_ENABLE_SPM_TOKENIZER=ON \
-DOCOS_BUILD_PYTHON=OFF \
-DOCOS_ENABLE_CV2=OFF \
-DOCOS_ENABLE_VISION=OFF
-DOCOS_ENABLE_VISION=OFF \
-DOCOS_ENABLE_CTEST=OFF
displayName: build the customop library with onnxruntime
# TODO add unittest for webassembly

Expand Down
3 changes: 2 additions & 1 deletion .pyproject/cmdclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ def build_cmake(self, extension):
archs = re.findall(r"-arch (\S+)", os.environ.get("ARCHFLAGS", ""))
if archs:
cmake_args += [
"-DCMAKE_OSX_ARCHITECTURES={}".format(";".join(archs))]
"-DCMAKE_OSX_ARCHITECTURES={}".format(";".join(archs)),
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15"]

# overwrite the Python module info if the auto-detection doesn't work.
# export Python3_INCLUDE_DIRS=/opt/python/cp38-cp38
Expand Down

0 comments on commit a04860f

Please sign in to comment.