[Gambas-user] Git compilation report
Christof Thalhofer
chrisml at ...3340...
Fri Aug 18 23:32:00 CEST 2017
Am 18.08.2017 um 22:54 schrieb Gianluigi:
> Perhaps I begin to understand something, but apologize me if I continue to
> say nonsense.
No problem :-)
> When updating:
What? Do you always use the latest version of Gambas? Do you use the
Gambas development version? Seems so:
> cd gambasdevel
Then check you branch
git branch
* master
Ok, you are on master, thats bleeding edge.
> sudo make uninstall
ok, you uninstalled binary Gambas from your computer
now:
git pull
This fetches all new changes from Gitlab into the repository (in the
subdir .git) and updates the master branch, you are in.
Now:
> ./reconf-all && LLVM_CONFIG=llvm-config-3.5 ./configure -C
> make && sudo make install
Ok and you're done. But be careful! Maybe you need make clean before
that (as Tobi wrote).
> Unclear part:
> I run the git pull command as Charlie suggests?
Yes, that is right. It downloads only the changes to the local
repository (in .git).
> Or git checkout master as Christof seems to suggest?
The local repository resides in .git
There are all branches, all versions, all tags of Gambas ever!
git checkout anything
extracts one single state out of the (local) repository to your filesystem.
git checkout master
= bleeding edge
git checkout v3.10.0
= Gambas V3.10
Please understand: If you did a clone from Gitlab to your computer you
have the complete repository, look at that:
git tag
> I have never used make clean when need to use it?
As Tobi wrote, if C/C++ files have been added.
> Would it be the same as rm -rf gambasdevel /?
Jesus! Avoid that! 100MB are gone and you have to download that again!
> I note that the command:
>
> git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel
This is a shallow clone
https://www.perforce.com/blog/git-beyond-basics-using-shallow-clones
> Download only the latest version of development and not the whole git, as
> explained in the wiki (about a third of the 100MB)
So clone it once all and never delete it but just fetch differences.
> He is turning my head, I go to sleep.
> Goodnight to everyone (in Italy it's night :-))
Good night, turning head when switching over to Git is normal :-)
But later you will be in heaven :-)
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20170818/3919a15c/attachment.sig>
More information about the User
mailing list