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

How to skip installing third-party? #5406

Closed
wqh17101 opened this issue Mar 16, 2023 · 8 comments
Closed

How to skip installing third-party? #5406

wqh17101 opened this issue Mar 16, 2023 · 8 comments
Labels
type/question Type: question about the product

Comments

@wqh17101
Copy link

I will install the software here https://docs.nebula-graph.com.cn/3.3.0/4.deployment-and-installation/1.resource-preparations/#_2 before building.
So how to skip installing third-party when cmake ?

>>>> Configuring third party for 'Nebula Graph' <<<<
-- Downloading prebuilt third party automatically...
-- cxx_cmd: /usr/bin/c++ -D_GLIBCXX_USE_CXX11_ABI=1
Downloading vesoft-third-party-3.3-x86_64-libc-2.17-gcc-10.1.0-abi-11.sh...

I do not know why it will download for i have installed the thirdparty softwares it need before cmake.

@wey-gu
Copy link
Contributor

wey-gu commented Mar 16, 2023

You could try with nebula_dev docker build env to avoid those preparation steps, but plz be noted, there are binaries built nightly and per release out there, too, normally we dont have to build on our own.

ref: https://www.siwei.io/nebulagraph-hacking-guide/ (Chinese :P )

@wqh17101
Copy link
Author

Good.
But i want to install these by myself, so maybe you can add an option to skip for the users who have installed these dependencies?

@wey-gu
Copy link
Contributor

wey-gu commented Mar 16, 2023

@Shinji-IkariG is there any way to bypass install-third-party.sh in cmake, please?

@wqh17101
Copy link
Author

Also you can offer the doc for the vesoft-third-party.
It is better for you to make users able to choose which way to build third party.
Use your vesoft-third-party or build by theirself.

@wqh17101
Copy link
Author

Sometimes, users can only get your source code and the other software's installer for some building env limitation.

@wqh17101
Copy link
Author

Users can use vesoft-third-party-3.0-x86_64-libc-2.28-gcc-9.3.0-abi-11.sh to install them by a click.
Why is this thing not in the doc?

@Sophie-Xie Sophie-Xie added the type/question Type: question about the product label Mar 16, 2023
@Shinji-IkariG
Copy link
Contributor

First of all, the third party refers to the upstream projects needed to compile nebula, so they must exist—whether you use the pre-compiled version of vesoft or compile it yourself
Secondly, if you use the code provided by vesoft/nebula-third-party to compile the project yourself, it will be installed in the /opt directory by default, which is also the path that nebula checks by default, so you can continue nebula after compiling the 3rd party The compilation work.
Finally, the third party involves a lot of combinations, determined by the compiler, glibc version, hardware architecture, etc., so there is no one general combination. This is why you will automatically download a certain combination when compiling nebula - we combine the corresponding 3rd party file name based on the relevant information on your current system, and try to download it.

@QingZ11
Copy link
Contributor

QingZ11 commented May 5, 2023

@wqh17101 Hi, I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime.

Thanks a lot for your contribution anyway 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

5 participants