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

Gather qt5 in main page for a full build compile all in once (leelaz /-autogtp) clearer main README more detailed AUTOGTP readme #2071

Closed
wants to merge 43 commits into from

Conversation

wonderingabout
Copy link
Contributor

@wonderingabout wonderingabout commented Dec 7, 2018

My next branch is now in sync with gcp/next

this branch is a copy of gcp/next with a few new commits

  • fix qt5 missing dependency for contributing
  • added cmake and curl in the compile dependencies too
  • clearer readme again
  • cleanup of the autogtp readme
  • other clearer changes

general outlook

you can compare it to :

@wonderingabout
Copy link
Contributor Author

after running this :

sudo apt install libboost-dev libboost-program-options-dev libboost-filesystem-dev opencl-headers ocl-icd-libopencl1 ocl-icd-opencl-dev zlib1g-dev

added cmake dependency to fix this error on a brand new ubuntu :

cmake ..

Command 'cmake' not found, but can be installed with:

apt install cmake
Please ask your administrator.

after running this :

sudo apt install libboost-dev libboost-program-options-dev libboost-filesystem-dev opencl-headers ocl-icd-libopencl1 ocl-icd-opencl-dev zlib1g-dev

added cmake dependency to fix this error on a brand new ubuntu :

cmake ..

Command 'cmake' not found, but can be installed with:

apt install cmake
Please ask your administrator.
@wonderingabout
Copy link
Contributor Author

wonderingabout commented Dec 7, 2018

adding qt5 dependency to fix compile incomplete (error after compile : autogtp is not a directory without qt5)

for linux :

qt5-default qt5-qmake curl

for macos :

qt5 curl

note : for macos i dont know if qmake is included or not

and removing it from the autogtp readme (uneeded to separate instructions)

qt5 is needed for autogtp to be compiled

to make it less confusing, i am integrating qt5 directly in main page examples of compiling
This autogtp README page now links to the main readme
since the compiling is all in one step now with cmake, i think it's better to include qt5 dependency here instead of in the autogtp readme

fixes the autogtp is not a directory error when following these new instructions without reading the autogtp readme page (i.e. without having qt5 installed)

note : i dont know if qt5 and curl have the same package names on macos, edit if it's wrong
@wonderingabout wonderingabout changed the title Minor clearer README next v2 Fix qt5 missing clearer README next v2 Dec 7, 2018
autogtp/README.md Outdated Show resolved Hide resolved
autogtp/README.md Outdated Show resolved Hide resolved
@wonderingabout
Copy link
Contributor Author

wonderingabout commented Dec 12, 2018

finished, it looks so much clearer for a newcomer

edit 2 : again i want to stress that for mac version i dont know if brew install qt5 includes qmake

@gcp can you review again please ?

again i dont know if brew install qt5 will install qmake for autogtp in macos
optioNal not optioNNal
@wonderingabout wonderingabout changed the title Fix qt5 missing clearer README next v2 Regroup qt5 in main page with leelaz clearer README next v2 Dec 12, 2018
@wonderingabout wonderingabout changed the title Regroup qt5 in main page with leelaz clearer README next v2 Gather qt5 for autogtp in main page with leelaz clearer README next v2 Dec 12, 2018
@wonderingabout
Copy link
Contributor Author

wonderingabout commented Dec 15, 2018

trying an attemptive revert, will be done in a few hours

reverted separate qt5 methodology with a detailed explanation
i think it makes more sense like that
@wonderingabout
Copy link
Contributor Author

after thinking it again, i can see many cases where one person may want to compile only autogtp binary without leelaz

did an attemptive revert,
can you review again @gcp ?

@wonderingabout
Copy link
Contributor Author

wonderingabout commented Jan 8, 2019

will update the PR's mac building instructions depending on the evolution here :

#2122

@wonderingabout
Copy link
Contributor Author

resolved merge conflict with the zlib conflict for mac #2122

should be ready to merge again

can you review again @gcp

thanks

@wonderingabout
Copy link
Contributor Author

added help on autogtp for easier use, see #1400

@wonderingabout
Copy link
Contributor Author

So, i would like to conclude this PR if possible @gcp

I dont have anything else to add, and i corrected the PR based on your first review, but i would like to conclude on this PR please @gcp

are there errors to fix ?
changes to improve ?
things to add ?

i remember that the base draft of this PR was quite good so we tried to improve it

can we review again and conclude soon ?
thanks

wonderingabout and others added 4 commits February 4, 2019 13:24
as mentionned by @rakenodiax
here : 
#2177 (comment)
Update links to leela-zero instead of gcp.
Appveyor link still needs to be 'gcp'.
@wonderingabout
Copy link
Contributor Author

@Hersmunch @ihavnoid @marcocalignano @sethtroisi @Ttl @gcp

i fixed this PR for a long time now,

would like if we can review it again

big thanks 👍

README.md Outdated Show resolved Hide resolved
@wonderingabout
Copy link
Contributor Author

wonderingabout commented Feb 17, 2019

i want to point again that all mac instructions may not be 100% accurate since i dont use mac myself (i'm on linux), and wrote these based on users's issues and feedback

but the main point of this PR is making the documentation clearer and more friendly as a whole

@roy7
Copy link
Collaborator

roy7 commented Feb 17, 2019

Oh sorry I made some direct changes to the README file without even realizing this PR was here. However it might not conflict yours at all, I mostly just changed the AppVeyor links.

@wonderingabout
Copy link
Contributor Author

wonderingabout commented Feb 17, 2019

this PR is only documentation changes, so i hope nothing major will conflict with it

its fine for the change, i just commited the one line change (if anything, i should have changed new owner too here)

again, i want to remind that mac instructions may not be 100% accurate @roy7 , as i wrote them based on mac users feedback

but all in all, this PR should bring good things to leela-zero documentation

@gcp gcp force-pushed the next branch 3 times, most recently from d5e3539 to 6aaa5bb Compare February 19, 2019 16:09
@wonderingabout
Copy link
Contributor Author

wonderingabout commented Feb 23, 2019

@Hersmunch @ihavnoid @marcocalignano @sethtroisi @Ttl @gcp

please, please, please
can we review this PR that started in december 2018 and that is only documentation changes

i am ready to add or remove anything that may not be needed or accurate, but please can we come with a conclusion on this reasonably soon

thanks 👍

i just fixed conflicts with newest next branch changes again today

it seems i was the one to have introduced that mistake somehow earlier
@wonderingabout
Copy link
Contributor Author

i'll rewrite this from scratch in one commit with proper commit message

too poor quality to merge it in 0.17 #2275

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

Successfully merging this pull request may close these issues.

4 participants