-
Notifications
You must be signed in to change notification settings - Fork 317
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
Add library ICU #840
base: main
Are you sure you want to change the base?
Add library ICU #840
Conversation
This might be done with |
@dimztimz thanks! I just reviewed before reading your comment above; sorry. Does this library really need to be built? Is it important to be able to link against it? Most libraries we have are heade-only, and so don't need to be built. There are a few words on how to add libraries and even built libraries in https://github.com/compiler-explorer/compiler-explorer/blob/main/docs/AddingALibrary.md#adding-a-new-library-to-the-live-site and if you scroll down there's some information on how to compile too. It's obviously a bit more complicated as there's no one standard way to build for all compilers. We have our own system, and it's a little fussy to get working. |
This will only work if this produces a Shared library. ( |
@partouf forgive the daft questin: when you say "script" you don't mean the |
I was in a weird mood, I left it a little vague. Let me explain:
|
Got it! thanks partouf. I'm pretty sure we can make a new "c library" installable type that knows how to do this stuff if needed. I'd really rather not keep the install_library.sh stuff around (for a start it doesn't work with cefs). That said: if it's the way forward for this project and gets it working, maybe we should drop the yaml; do everything in the shell script and then I can fix it up later? Thoughts? :) |
Maybe I should eat my words. It looks like curl has some kind of build-thing.. Not exactly know how that works |
This is still waiting. There is nothing special about this library, its pretty standard C++ library (not C) that uses autotools, so its configure and make. One can use the following as examples. Lines 212 to 225 in bfa2b95
Lines 1522 to 1538 in bfa2b95
Lines 1665 to 1684 in bfa2b95
Lines 1497 to 1514 in bfa2b95
|
Apologies for the delay.
"standard" it may be, but it's tricky for us where we try and build everything for every compiler. |
(Sorry for the unhelpful comment here...our library story is complex and it's a lot of work on our side, and...we're still learning how best to do all this) |
Anno 2024 this is easy to implement, but I don't have the bandwidth at the moment |
See issue compiler-explorer/compiler-explorer#4110