File tree Expand file tree Collapse file tree
build/build-publish-solvers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -335,8 +335,11 @@ SPDX-License-Identifier: Apache-2.0
335335
336336 <target name =" publish-yices2-macOS" depends =" load-ivy, build-yices2-java-macOS"
337337 description =" Compile Yices2 binaries for macOS" >
338+ <condition property =" install.architecture" value =" arm64" else =" x86_64" >
339+ <os arch =" aarch64" />
340+ </condition >
338341 <mkdir dir =" lib/native/${build.architecture}-macosx" />
339- <copy file =" ${yices2.buildDir}/yices2_java_bindings/dist/lib/libyices2java.dylib" tofile =" lib/native/${build .architecture}-macosx/libyices2java.dylib" failonerror =" true" />
342+ <copy file =" ${yices2.buildDir}/yices2_java_bindings/dist/lib/libyices2java.dylib" tofile =" lib/native/${install .architecture}-macosx/libyices2java.dylib" failonerror =" true" />
340343 </target >
341344
342345 <target name =" publish-yices2" depends =" load-ivy, build-yices2-java"
You can’t perform that action at this time.
0 commit comments