Yams icon indicating copy to clipboard operation
Yams copied to clipboard

Add support for Musl (#429)

Open arasan01 opened this issue 1 year ago • 0 comments

Summary

Change import to allow a choice between Glibc and Musl.

related Issue: https://github.com/jpsim/Yams/issues/429 replacing musl pow: https://git.musl-libc.org/cgit/musl/tree/include/math.h

Check

$ xcrun --toolchain org.swift.600202409171a swift --version
Apple Swift version 6.0.2-dev (LLVM 43d73cb0cc589f7, Swift aaa632cea622394)
Target: arm64-apple-macosx14.0

$ xcrun --toolchain org.swift.600202409171a swift build --swift-sdk x86_64-swift-linux-musl -c release
Building for production...
[3/3] Compiling Yams Constructor.swift
Build complete! (7.32s)

$ xcrun --toolchain org.swift.600202409171a swift build -c release
Building for production...
[9/9] Compiling Yams Constructor.swift
Build complete! (16.99s)

arasan01 avatar Sep 25 '24 10:09 arasan01