Comments (6)
Yes, we run git fetch origin
which will fetch both new tags and branches. It looks like your example properly checked out. llvmorg-9.0.0-rc1
?
from tc-build.
Does not work how? What do you expect it to do?
from tc-build.
I checkout release/9.x
Git branch and then tried a week later to checkout llvmorg-9.0.0-rc1
Git tag by doing an incremental pull-ing.
Unsure if this is smart/allowed/foreseen-in-the-design.
Are remote Git tags fetched when using -B/--branch
option?
from tc-build.
The Git tag was indeed recognized/fetched.
$ git branch
* (HEAD detached at llvmorg-9.0.0-rc1)
release/9.x
Manually I did:
$ cd tc-build/llvm-project
$ git ls-remote --tags origin | grep '9.0.0-rc1'
f85f31d608a7248e2fd419dee11371dcb9bd1efd refs/tags/llvmorg-9.0.0-rc1
6aa75a25bdeea9cdc4b04cdd91e82e680444bf4b refs/tags/llvmorg-9.0.0-rc1^{}
$ git checkout -b llvmorg-9.0.0-rc1 tags/llvmorg-9.0.0-rc1
In terms of a Git branch I expected to have exactly what the last line does: a local branch called llvmorg-9.0.0-rc1
not (HEAD detached at llvmorg-9.0.0-rc1)
.
Maybe this is just a cosmetical thing.
BTW, above I see two Git tags.
The commit-id 6aa75a25bdeea9cdc4b04cdd91e82e680444bf4b
is the commit-id of the llvmorg-9.0.0-rc1
Git tag. What is the difference?
from tc-build.
In terms of a Git branch I expected to have exactly what the last line does: a local branch called
llvmorg-9.0.0-rc1
not(HEAD detached at llvmorg-9.0.0-rc1)
.
Maybe this is just a cosmetical thing.
The script runs git checkout
, rather than git checkout -b
. So by specifying llvmorg-9.0.0-rc1
as the "branch", git checkout
will put you into a detached HEAD state. If you want a branch instead, you should just manage the repository yourself and pass in --no-update
to the script.
BTW, above I see two Git tags.
The commit-id6aa75a25bdeea9cdc4b04cdd91e82e680444bf4b
is the commit-id of thellvmorg-9.0.0-rc1
Git tag. What is the difference?
f85f31d608a7248e2fd419dee11371dcb9bd1efd is the tag object, 6aa75a25bdeea9cdc4b04cdd91e82e680444bf4b is the commit that the tag points to.
from tc-build.
Re-reading this, I think there is some confusion over the meaning of --incremental
. --incremental
deals with not removing the build artifacts from a previous compile, not incrementally updating the repo. There is no bug here.
from tc-build.
Related Issues (20)
- CMake build error in ./build-llvm.py on Ubuntu Bionic HOT 1
- [Question] Does build-llvm.py need an update for clang-14? HOT 3
- Kernel building script not working for ARM64 HOT 2
- question: how to find out why a linking error happens? HOT 2
- [BOLT] Minimum hardware requirements? HOT 10
- download llvm from tarball's rather than shallow clone? HOT 1
- Ability to specify llvm sha HOT 1
- Building kernels: Show Linux version (when passing -L option) HOT 3
- Use sccache to speed up builds HOT 5
- Bump binutils to version 2.39
- Good revision broken on arm64 HOT 4
- Display total build-time HOT 6
- build-binutils.py: Do not build texinfo docs HOT 3
- Print total disc-usage in MiB HOT 4
- Alpine/Musl segfault when building BOLT in stage 3 HOT 7
- ld.gold and ld.bfd HOT 1
- ld.bfd ld.gold missing and build_binutils problem HOT 22
- build-binutils.py: don't assume -mtune == -march HOT 2
- Could not find LLVM_VERSION_MAJOR in CMakeLists.txt HOT 3
- objtool warning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tc-build.