> On Apr 6, 2017, at 6:16 AM, Pavol Vaskovic via swift-dev > <swift-dev@swift.org> wrote: > > Hi! > > I’ve been trying to use gyb to simplify maintenance of some tests in > benchmark/single-source/. > > I have created DropLast.swift.gyb, but it appears this approach is currently > not supported by the build system. Doing a clean build I got the following > error: > >> + /usr/local/bin/cmake --build >> /Users/mondo/Developer/swift-source/build/Ninja-ReleaseAssert/swift-macosx-x86_64 >> -- -j2 all swift-test-stdlib-macosx-x86_64 swift-benchmark-macosx-x86_64 >> ninja: error: >> '/Users/mondo/Developer/swift-source/swift/benchmark/single-source/DropLast.swift', >> needed by 'benchmark/Onone-x86_64-apple-macosx10.9/DropLast.o', missing and >> no known rule to make it >> ./swift/utils/build-script: fatal error: command terminated with a non-zero >> exit status 1, aborting > > > > > How do I make benchmarks work with gyb?
Please do not do this. We have been talking about switching the benchmarks to use swiftpm instead of our own custom cmake goop. swiftpm does not support using custom things like gyb. Michael > > Best regards > Pavol Vaskovic > > > > _______________________________________________ > swift-dev mailing list > swift-dev@swift.org > https://lists.swift.org/mailman/listinfo/swift-dev _______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev