Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

First step to getting Minigo running on Windows #580

Merged
merged 4 commits into from
Nov 28, 2018
Merged

First step to getting Minigo running on Windows #580

merged 4 commits into from
Nov 28, 2018

Conversation

tommadams
Copy link
Contributor

Gets Minigo building and its tests passing on Windows. This PR doesn't make any attempt to get any inference engine working (other than FakeDualNet), so the windows code currently only builds with --define=tf=0.

Most of the work here was file system yak shaving.

Copy link
Contributor

@amj amj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. thanks for doing tests too. LGTM

#include "absl/strings/str_cat.h"

namespace minigo {
namespace file {

#ifdef _WIN32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no absl lib for this i guess

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet. It's wrapped up with the rest of the absl::File API, which is on the road map to release but not for quite some time.

@@ -24,7 +24,7 @@ namespace minigo {

constexpr uint16_t Coord::kPass;
constexpr uint16_t Coord::kInvalid;
constexpr char Coord::kKgsColumns[];
const char Coord::kKgsColumns[20] = "ABCDEFGHJKLMNOPQRST";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm scared to ask why you needed to do this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants