Skip to content

Commit

Permalink
Fix xcode15 build error on pytorchbenchmark
Browse files Browse the repository at this point in the history
Summary:
How to repo
1. Install latest Xcode 15 from MSC;
2. arc focus2 -b //fbobjc/Apps/Internal/PyTorchBenchmark:workspace --force-with-wrong-xcode
3. build

Please refer to https://fb.workplace.com/groups/iOSAppChampions/permalink/6792364927464286/ for the details.

Reviewed By: aaronenyeshi, xuzhao9

Differential Revision: D47552566

fbshipit-source-id: 571a729f67f8cc8fc324850e9e7ba1b821f29fa3
  • Loading branch information
Jason Wang authored and facebook-github-bot committed Jul 18, 2023
1 parent c9362f6 commit efa1c2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libkineto/src/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ using std::vector;

namespace KINETO_NAMESPACE {

#if __clang__ && __cplusplus < 201703L
constexpr std::chrono::milliseconds Config::kControllerIntervalMsecs;
#endif

constexpr milliseconds kDefaultSamplePeriodMsecs(1000);
constexpr milliseconds kDefaultMultiplexPeriodMsecs(1000);
Expand Down

0 comments on commit efa1c2b

Please sign in to comment.