Help: How do we add dependencies manually? #3507
Replies: 3 comments
-
why don't you use the packaged libraries, or build your own on a machine with network access? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Unfortunately machine with network access isn't an option for me :(. How do i use the packaged libraries? |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you can install the source, you can install the packaged libraries.
Or am I missing something.
Le mer. 19 oct. 2022, 20:23, ABHIJIT INGE ***@***.***> a
écrit :
… Unfortunately machine with network access isn't an option for me :(. How
do i use the packaged libraries?
I'm guessing all the files that are already created under builds/lib64 &
build/_deps have to be copied over and set the BUILD_DEPS:BOOL flag to
OFF? Any other files need to be copied over?
—
Reply to this email directly, view it on GitHub
<#3507 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUPL3NOIIFXBPKWVFSCCU3WEA4CDANCNFSM6AAAAAARISGYYE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried building the package locally using cmake and it builds without any errors. However the environment which we are planning to ultimately use does not have an outbound network connection. The problem I see is that https://github.com/google/or-tools/blob/v9.4/cmake/dependencies/CMakeLists.txt performs a Git Clone to download the dependencies and add them. Since there is no outbound network access this step fails and I'm unable to build the dependency. To circumvent this we are planning to manually download the dependencies and add them to https://github.com/google/or-tools/blob/v9.4/cmake/dependencies/ folder.
I'm pretty new to CMake and I'm not sure what changes have to be made to accommodate this. Could you help us out?
For example, what would the following snippet need to be changed to if I added Zlib v1.2.11 repository to https://github.com/google/or-tools/blob/v9.4/cmake/dependencies/? Any help would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions