Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows version #1540

Merged
merged 24 commits into from
Sep 29, 2020
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e884e13
Merge pull request #1 from algorand/master
mxmauro Feb 15, 2020
ad1cf07
Merge pull request #2 from algorand/master
mxmauro Sep 22, 2020
0cc6f1c
Source code modifications to make them compilable under Windows
mxmauro Sep 22, 2020
12d0f07
Scripts to setup development environment under MSYS2
mxmauro Sep 22, 2020
f24f931
Moved dll dependency copy at the end of setup script
mxmauro Sep 22, 2020
627e07d
Fixed Linux compilation issues.
mxmauro Sep 22, 2020
5eeb7f5
Removed raise exception after cgo_painc call
mxmauro Sep 22, 2020
fb401cb
Removed dummy comments
mxmauro Sep 22, 2020
df38db3
Added comments to exported functions
mxmauro Sep 22, 2020
8235d7c
Fixed build exception on intended target OS
mxmauro Sep 22, 2020
e40994f
Added common functions for all OSes
mxmauro Sep 23, 2020
71aa8ad
Fixed code formatting
mxmauro Sep 23, 2020
981a7d5
Added missing return at end of function
mxmauro Sep 23, 2020
f6cd990
Removed underscore from variables
mxmauro Sep 23, 2020
5f6538e
Changed shell engine to newer bash
mxmauro Sep 23, 2020
ae02e07
Added a common function to get process running times.
mxmauro Sep 23, 2020
5dbcda3
Added log and comment because of lack of mlockall functionality on Wi…
mxmauro Sep 23, 2020
08fb191
Removed indentation
mxmauro Sep 28, 2020
eb48485
Merged Windows dependencies installer script with configure_dev.sh
mxmauro Sep 28, 2020
d4de8ab
Updated Windows environment setup instructions
mxmauro Sep 28, 2020
1d45ba4
Merge remote-tracking branch 'upstream/master'
mxmauro Sep 28, 2020
8d3db9a
Merge branch 'master' into windows-version
mxmauro Sep 28, 2020
41087ef
Fixed wrong change of SIGKILL signal to SIGTERM
mxmauro Sep 29, 2020
c1a10ec
Fixed typo configure dev script
mxmauro Sep 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed indentation
  • Loading branch information
mxmauro committed Sep 28, 2020
commit 08fb191eaec68978c936dd36d25a524eab21c447
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
UNAME := $(shell uname)
ifneq (, $(findstring MINGW,$(UNAME)))
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of evaluating ifneq (, $(findstring MINGW,$(UNAME))) every time, would be clearer to make a boolean constant for it, and check it here and elsewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, may be. Bash and Linux is not my strong suite. :)

#Gopath is not saved across sessions, probably existing Windows env vars, override them
export GOPATH := ${HOME}/go
GOPATH1 := $(GOPATH)

export PATH := $(PATH):$(GOPATH)/bin
#Gopath is not saved across sessions, probably existing Windows env vars, override them
export GOPATH := ${HOME}/go
GOPATH1 := $(GOPATH)
export PATH := $(PATH):$(GOPATH)/bin
else
export GOPATH := $(shell go env GOPATH)
GOPATH1 := $(firstword $(subst :, ,$(GOPATH)))
export GOPATH := $(shell go env GOPATH)
GOPATH1 := $(firstword $(subst :, ,$(GOPATH)))
endif
export GO111MODULE := on
export GOPROXY := direct
Expand Down