SPB Git

Repository Public MIT

Package.swift 1.2 KB 31 lines swift

1// swift-tools-version: 6.22// ORIX Calc3// File: Packages/ORIXExpression/Package.swift4// Description: Typed values, exact arithmetic, expression parser, evaluator, formatter and RPN machine.5//6// Author: Simon-Pierre Boucher7// Contact: contact@spboucher.ai8import PackageDescription910let package = Package(11    name: "ORIXExpression",12    platforms: [.iOS(.v26), .macOS(.v15)],13    products: [.library(name: "ORIXExpression", targets: ["ORIXExpression"])],14    dependencies: [15        .package(path: "../ORIXNumerics"),16        .package(url: "https://github.com/apple/swift-numerics", exact: "1.1.1"),17        .package(url: "https://github.com/attaswift/BigInt", exact: "5.7.0"),18    ],19    targets: [20        .target(name: "ORIXExpression", dependencies: [21            "ORIXNumerics",22            .product(name: "ComplexModule", package: "swift-numerics"),23            .product(name: "RealModule", package: "swift-numerics"),24            .product(name: "BigInt", package: "BigInt"),25        ], cSettings: [.define("ACCELERATE_NEW_LAPACK")],26           swiftSettings: [.unsafeFlags(["-Xcc", "-DACCELERATE_NEW_LAPACK"])]),27        .testTarget(name: "ORIXExpressionTests", dependencies: ["ORIXExpression"]),28    ],29    swiftLanguageModes: [.v6]30)31
Files main
Menu

Theme