-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from PerfectlySoft/develop
Develop
Showing
4 changed files
with
168 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// swift-tools-version:4.0 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
// | ||
// Package.swift | ||
// Perfect-TensorFlow | ||
// | ||
// Created by Rockford Wei on 2017-05-18. | ||
// Copyright © 2017 PerfectlySoft. All rights reserved. | ||
// | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// This source file is part of the Perfect.org open source project | ||
// | ||
// Copyright (c) 2017 - 2018 PerfectlySoft Inc. and the Perfect project authors | ||
// Licensed under Apache License v2.0 | ||
// | ||
// See http://perfect.org/licensing.html for license information | ||
// | ||
//===----------------------------------------------------------------------===// | ||
// | ||
|
||
import PackageDescription | ||
#if os(OSX) | ||
import Darwin | ||
#else | ||
import Glibc | ||
#endif | ||
let package = Package( | ||
name: "PerfectTensorFlow", | ||
products: [ | ||
.library( | ||
name: "PerfectTensorFlow", | ||
targets: ["PerfectTensorFlow"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/apple/swift-protobuf.git", .exact("1.5.0")) | ||
], | ||
targets: [ | ||
.target( | ||
name: "TensorFlowAPI", | ||
dependencies: []), | ||
.target( | ||
name: "PerfectTensorFlow", | ||
dependencies: ["TensorFlowAPI", "SwiftProtobuf"], | ||
exclude:[]), | ||
.testTarget( | ||
name: "PerfectTensorFlowTests", | ||
dependencies: ["PerfectTensorFlow"]), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters