-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[glew] Add public definition GLEW_NO_GLU [colmap] Remove feature cuda #43641
base: master
Are you sure you want to change the base?
[glew] Add public definition GLEW_NO_GLU [colmap] Remove feature cuda #43641
Conversation
2531e62
to
3481b48
Compare
3481b48
to
c836f41
Compare
GLEW doesn't use GLU. |
c836f41
to
8b4f45e
Compare
8b4f45e
to
6b28cc3
Compare
i.e. not in CMake. Then you don't have to patch downstream ports. |
6b28cc3
to
85a2ff8
Compare
Approved? Okay, suggestion implemented in #43695. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really don't see this as ready to merge.
${FREETYPE_LIBRARIES} | ||
${MATH_LIBRARY} | ||
- ${GLEW_LIBRARY} | ||
+ GLEW::GLEW |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typical patch which will breaks users 💣
"cuda": { | ||
"description": "Build with CUDA.", | ||
"dependencies": [ | ||
"cuda", | ||
"glew" | ||
] | ||
}, | ||
"cuda-redist": { | ||
"description": "Redistributable CUDA support for common supported compute architectures.", | ||
"dependencies": [ | ||
"cuda" | ||
] | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nobody wants to remove CUDA from COLMAP. (Or back to 🧮?)
Convert to draft. Wait for the fix and discussion upstream that mentioned |
Port
freetype-gl
failed withinclude/GL/glew.h:1219:14: fatal error: GL/glu.h: No such file or directory
which found in when check #43363 (review)Change
GLEW_NO_GLU
toglew
forglew_head.h
by backporting Add INTERFACE definition GLEW_NO_GLU for glew_head.h nigels-com/glew#426freetype-gl
dependency:GLEW::GLEW
colmap
featurecuda
, report upstream Option GPU_ENABLED build failed: SiftGPU requires dependency GLUT colmap/colmap#3144Checklist
SHA512s are updated for each updated download.The "supports" clause reflects platforms that may be fixed by this new version.Any fixed CI baseline entries are removed from that file.Any patches that are no longer applied are deleted from the port's directory../vcpkg x-add-version --all
and committing the result.Test
The port
glew
,freetype-gl
,colmap
installation tests pass with the following triplets: