Git Product home page Git Product logo

Comments (2)

xianwen avatar xianwen commented on August 9, 2024

This is the full output with -v 8:

➜  BuckSample git:(master) ✗ tools/buck build //Libraries/SecondSwiftModule -v 8
[2020-04-17 13:29:14.553][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.util.environment.MacWifiSsidFinder] Getting current SSID..

[2020-04-17 13:29:14.554][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.util.environment.MacWifiSsidFinder] Getting SSID from Wi-Fi interface: <CWInterface: 0x7ffe54480110> [interfaceName=en0]

[2020-04-17 13:29:14.555][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.util.environment.MacWifiSsidFinder] Found SSID: NETGEAR21-5G

[2020-04-17 13:29:14.562][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.util.randomizedtrial.RandomizedTrial] Determined key: '[email protected]/depsaware_executor/5715cf62-5677-4b0d-ab64-0742dbeb5a2e'

[2020-04-17 13:29:14.562][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.cli.MainRunner] InvocationInfo BuildId=[5715cf62-5677-4b0d-ab64-0742dbeb5a2e] Args=[build, //Libraries/SecondSwiftModule, -v, 8]

[2020-04-17 13:29:14.563][info ][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.support.build.report.BuildReportUtils] Build report is not enabled

[2020-04-17 13:29:14.564][info ][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.support.build.report.BuildReportUtils] Build report is not enabled

[2020-04-17 13:29:14.725][info ][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1420][com.facebook.buck.event.listener.LoggingBuildListener] Build started at 2020-04-17 13:29:14.725

[2020-04-17 13:29:14.726][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.parser.ParserWithConfigurableAttributes] Got default flavors [] from args of //Libraries/SecondSwiftModule:SecondSwiftModule

[2020-04-17 13:29:14.726][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.cxx.CxxLibraryImplicitFlavors] Got arg default type Optional.empty platform Optional.empty

[2020-04-17 13:29:14.726][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.cxx.CxxLibraryImplicitFlavors] Got default flavors [iphonesimulator-x86_64, static] for rule types [apple_library, cxx_library]

[2020-04-17 13:29:14.726][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.parser.ParserWithConfigurableAttributes] Got default flavors [iphonesimulator-x86_64, static] from description of //Libraries/SecondSwiftModule:SecondSwiftModule

[2020-04-17 13:29:14.727][info ][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:13][com.facebook.buck.core.model.actiongraph.computation.ActionGraphProvider] ActionGraph cache hit.

PARSING BUCK FILES: FINISHED IN 0.0s
CREATING ACTION GRAPH: FINISHED IN 0.0s
[2020-04-17 13:29:14.733][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1445][com.facebook.buck.core.build.engine.cache.manager.BuildCacheArtifactFetcher] Cache miss for '//Libraries/SecondSwiftModule:SecondSwiftModule#iphonesimulator-x86_64,static' with rulekey '0b30411411d412351bb9756a293e146ba66dab0b'

[2020-04-17 13:29:14.734][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1453][com.facebook.buck.core.build.engine.cache.manager.BuildCacheArtifactFetcher] Cache miss for '//Libraries/SecondSwiftModule:SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64' with rulekey 'e34685ead08454efcb627d8bba4e87b379a8eaec'

[2020-04-17 13:29:14.735][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1454][com.facebook.buck.core.build.engine.cache.manager.BuildCacheArtifactFetcher] Cache miss for '//Libraries/YetAnotherSwiftModule:YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64' with rulekey '3d8fb07456f47039b118d227d7c8f9aede0afa3e'

FOUND 1/6 JOBS 0.0s //Libraries/YetAnotherSwiftModule:YetAnotherSwiftModule
FOUND 2/6 JOBS 0.0s //Libraries/YetAnotherSwiftModule:YetAnotherSwiftModule#header-mode-symlink-tree-with-modulemap,headers,iphonesimulator-x86_64
FOUND 3/6 JOBS 0.0s //Libraries/YetAnotherSwiftModule:YetAnotherSwiftModule#apple-swift-objc-generated-header,iphonesimulator-x86_64
[2020-04-17 13:29:14.736][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1452][com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder] Building locally: //Libraries/YetAnotherSwiftModule:YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64

mkdir -p buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64
swift-filelist
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -frontend -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk -target x86_64-apple-ios11.0 -c -enable-objc-interop -parse-as-library -serialize-debugging-options -module-name YetAnotherSwiftModule -emit-module -emit-module-path buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.swiftmodule -emit-objc-header-path buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule-Swift.h -o buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.o -swift-version 5 -DBUCK -whole-module-optimization -Onone -DDEBUG -enable-testing -g -warnings-as-errors -filelist /Users/xianwen/work/BuckSample/buck-out/bin/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64__filelist.txt
[2020-04-17 13:29:14.738][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1452][com.facebook.buck.swift.SwiftCompileStep] [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc, -frontend, -sdk, /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk, -target, x86_64-apple-ios11.0, -c, -enable-objc-interop, -parse-as-library, -serialize-debugging-options, -module-name, YetAnotherSwiftModule, -emit-module, -emit-module-path, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.swiftmodule, -emit-objc-header-path, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule-Swift.h, -o, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.o, -swift-version, 5, -DBUCK, -whole-module-optimization, -Onone, -DDEBUG, -enable-testing, -g, -warnings-as-errors, -filelist, /Users/xianwen/work/BuckSample/buck-out/bin/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64__filelist.txt]

[/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc, -frontend, -sdk, /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk, -target, x86_64-apple-ios11.0, -c, -enable-objc-interop, -parse-as-library, -serialize-debugging-options, -module-name, YetAnotherSwiftModule, -emit-module, -emit-module-path, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.swiftmodule, -emit-objc-header-path, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule-Swift.h, -o, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.o, -swift-version, 5, -DBUCK, -whole-module-optimization, -Onone, -DDEBUG, -enable-testing, -g, -warnings-as-errors, -filelist, /Users/xianwen/work/BuckSample/buck-out/bin/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64__filelist.txt]
[2020-04-17 13:29:14.865][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1452][com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder] Build completed: swift_compile //Libraries/YetAnotherSwiftModule:YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64 (127994778ns)

[2020-04-17 13:29:14.869][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1449][com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder] Building locally: //Libraries/SecondSwiftModule:SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64

mkdir -p buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64
swift-filelist
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -frontend -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk -target x86_64-apple-ios11.0 -Xcc -I -Xcc buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-objc-generated-header,iphonesimulator-x86_64.hmap -Xcc -I -Xcc buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#header-mode-symlink-tree-with-modulemap,headers,iphonesimulator-x86_64 -Xcc -I -Xcc buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64 -Xcc -I -Xcc buck-out -I /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64 -c -enable-objc-interop -parse-as-library -serialize-debugging-options -module-name SecondSwiftModule -emit-module -emit-module-path buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule.swiftmodule -emit-objc-header-path buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule-Swift.h -o buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule.o -swift-version 5 -DBUCK -whole-module-optimization -Onone -DDEBUG -enable-testing -g -warnings-as-errors -filelist /Users/xianwen/work/BuckSample/buck-out/bin/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64__filelist.txt
[2020-04-17 13:29:14.871][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1449][com.facebook.buck.swift.SwiftCompileStep] [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc, -frontend, -sdk, /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk, -target, x86_64-apple-ios11.0, -Xcc, -I, -Xcc, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-objc-generated-header,iphonesimulator-x86_64.hmap, -Xcc, -I, -Xcc, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#header-mode-symlink-tree-with-modulemap,headers,iphonesimulator-x86_64, -Xcc, -I, -Xcc, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64, -Xcc, -I, -Xcc, buck-out, -I, /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64, -c, -enable-objc-interop, -parse-as-library, -serialize-debugging-options, -module-name, SecondSwiftModule, -emit-module, -emit-module-path, buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule.swiftmodule, -emit-objc-header-path, buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule-Swift.h, -o, buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule.o, -swift-version, 5, -DBUCK, -whole-module-optimization, -Onone, -DDEBUG, -enable-testing, -g, -warnings-as-errors, -filelist, /Users/xianwen/work/BuckSample/buck-out/bin/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64__filelist.txt]

BUILT 4/6 JOBS 0.1s //Libraries/YetAnotherSwiftModule:YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64
[/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc, -frontend, -sdk, /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk, -target, x86_64-apple-ios11.0, -Xcc, -I, -Xcc, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-objc-generated-header,iphonesimulator-x86_64.hmap, -Xcc, -I, -Xcc, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#header-mode-symlink-tree-with-modulemap,headers,iphonesimulator-x86_64, -Xcc, -I, -Xcc, buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64, -Xcc, -I, -Xcc, buck-out, -I, /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64, -c, -enable-objc-interop, -parse-as-library, -serialize-debugging-options, -module-name, SecondSwiftModule, -emit-module, -emit-module-path, buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule.swiftmodule, -emit-objc-header-path, buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule-Swift.h, -o, buck-out/gen/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64/SecondSwiftModule.o, -swift-version, 5, -DBUCK, -whole-module-optimization, -Onone, -DDEBUG, -enable-testing, -g, -warnings-as-errors, -filelist, /Users/xianwen/work/BuckSample/buck-out/bin/Libraries/SecondSwiftModule/SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64__filelist.txt]
[2020-04-17 13:29:15.017][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1449][com.facebook.buck.core.build.engine.impl.CachingBuildRuleBuilder] Build completed: swift_compile //Libraries/SecondSwiftModule:SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64 (147309182ns)

FOUND 5/6 JOBS 0.0s //Libraries/SecondSwiftModule:SecondSwiftModule#iphonesimulator-x86_64,static
BUILT 6/6 JOBS 0.2s //Libraries/SecondSwiftModule:SecondSwiftModule#apple-swift-compile,iphonesimulator-x86_64
[2020-04-17 13:29:15.024][info ][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1420][com.facebook.buck.event.listener.LoggingBuildListener] Build finished at 2020-04-17 13:29:15.024

DOWNLOADED 0 ARTIFACTS, 0.00 BYTES, 100.0% CACHE MISS
BUILDING: FINISHED IN 0.3s (100%) 6/6 JOBS, 2 UPDATED
BUILD SUCCEEDED
[2020-04-17 13:29:15.025][info ][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1420][com.facebook.buck.event.listener.CriticalPathEventListener] Received command finished event for command : build

[2020-04-17 13:29:15.026][debug][command:5715cf62-5677-4b0d-ab64-0742dbeb5a2e][tid:1419][com.facebook.buck.util.perf.ProcessTracker] shutDown

from bucksample.

xianwen avatar xianwen commented on August 9, 2024

Another observation worth noting is that YetAnotherSwiftModule.o is indeed changed after the modification, which is expected since the file contains the compiled symbols.

As the following log shows, the md5sum of the .o file is different:

➜  BuckSample git:(master) ✗ md5sum /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule\#apple-swift-compile,iphonesimulator-x86_64/*
a8f58c820af9c0e7cd556983747d4cde  /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule-Swift.h
a8d0420702d3c53529f56ccbd206008e  /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.o
f3845ab1513135544bb1cf881fd870c3  /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.swiftmodule
➜  BuckSample git:(master) ✗ md5sum /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule\#apple-swift-compile,iphonesimulator-x86_64/*
a8f58c820af9c0e7cd556983747d4cde  /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule-Swift.h
947283c8505dffb21d71af9239a0d509  /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.o
f3845ab1513135544bb1cf881fd870c3  /Users/xianwen/work/BuckSample/buck-out/gen/Libraries/YetAnotherSwiftModule/YetAnotherSwiftModule#apple-swift-compile,iphonesimulator-x86_64/YetAnotherSwiftModule.swiftmodule

from bucksample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.