Questions about TiDB Makefile and Tazel

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb makefile tazel 疑问

| username: ShawnYan

【TiDB Usage Environment】Production Environment / Testing / PoC
【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
【Resource Configuration】Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
【Attachments: Screenshots / Logs / Monitoring】

.PHONY: tazel, is tazel meaningless?

| username: 有猫万事足 | Original post link

You can take a look at this,
The .PHONY target overrides this last behavior and lets the make build execute no matter the presence of a file named build.
The above example uses build as an example.

So after setting .PHONY: tazel, and without the configuration for make tazel appearing, it should mean there is a file or directory named tazel. You can indeed find a tazel under /tools/.

Moreover, the .PHONY: tazel configuration is not present in the makefile of version 7.0. This configuration appears precisely in version 7.1 along with the /tools/tazel directory.

This is the significance of the existence of .PHONY: tazel.

| username: ShawnYan | Original post link

Now, we use Gazelle to generate the Bazel config. But it will not generate the flaky or timeout item in the Bazel config. We need a tool to help us fill them in.

| username: ShawnYan | Original post link

Thank you, the usage of bazel is a bit different.

| username: ShawnYan | Original post link

Just understood, tazel = tidb + bazel

| username: ShawnYan | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.