Comments (6)
Hey Toby,
Glad you find CK useful, thanks for the kind words. I'm totally unfamiliar with gyp and don't see myself picking it up any time soon, perhaps the best route is to point me to a fork with the appropriate gyp glue already in place (assuming you've done the work there).
Otherwise, are you having any issues with the existing build infrastructure?
from ck.
So, the only reason I see this working is simply that it's mostly set and forget? Like, if there's new source files, just add them in. If you need to add a different compiler flag for a certain architecture, just add it in to the existing flags override for that architecture. I think maintaining it going forward would be trivial, and could reasonable be "at your own risk" usage. Hell, I'd certainly be willing to get CC'd on issues with it, but, obviously, this is all up to you.
I don't have a representative project file to show you... yet. I did the minimum viable configuration so there's no per-architecture compiler flags override, etc, which I think is important to demonstrate. I also haven't figured out yet if there's a way to replicate the preprocessing that the configure script does (re. ck_md, the memory model detection, etc) with gyp alone.
I didn't have any issues in particular with the existing build infrastructure. It's just a whole lot more seamless to add a project dependency to an existing gyp project IF that dependency is also a gyp project. It's smart enough to treat it as a transitive build target which means I don't have to shove configure/make commands anywhere. It essentially makes it a two line include to a project: the dependency itself and adding its include directory to the include search path. That's why making ck gyp-enabled is attractive to me.
from ck.
Also, separately, and I should have mentioned this earlier: gyp is essentially a native build system generator. So it's a tool, with its own configuration format, for generating Makefiles or Visual Studio solution files, and then also be able to invoke those tools for you, etc etc.
So, that said, supporting gyp would, I think, actually get ck closer to being easily built under Windows. The code itself, I have no idea, but it looks like there's no infrastructure in ck for building on Windows, which gyp could actually help with.
from ck.
CK should compile with mingw/cygwin. Would you be open to creating a patch for us to see whether it will truly be fire and forget? Worst case, the official repository could point to your fork...best case, we merge it in.
from ck.
Ah, interesting.
Yeah, I'd totally be down for that. Give me some time.
from ck.
@tobz - any updates on this?
from ck.
Related Issues (20)
- ck-0.7.1 fails validate/ck_sequence test in 1-core VM
- which compiler version is okay to do the aarch64 cross compile? HOT 2
- ck_pr.h causes stringop-overread warning with GCC 11 HOT 1
- aff_iterate() fails on M1 macbooks
- custom configure script broken for cross-compilation HOT 2
- When is the next release of ConcurrencyKit? HOT 2
- How could we cross compile ck? HOT 5
- compilation: error: expected expression before 'struct' HOT 1
- Request: Add Support for Altering ABI Target When Building for riscv64 Platform HOT 1
- Compilation fails with -Werror=strict-aliasing HOT 3
- Missing man pages for newer fence types HOT 1
- MinGW64 (Git Bash) fails to parse ./configure generated directory names
- ck_ec test fails on 32-bit musl systems
- Can we get a stable 0.7.1 release? HOT 5
- When is the next stable release of ConcurrencyKit? HOT 2
- Makefile dependency errors
- Possible bug in ck_hp.c due to ck_hp_member_cache always returning NULL HOT 1
- patch to ck_sequence_write_begin & ck_sequence_write_end broke my code HOT 5
- Possible bug in `ck_rhs_t` on OOM. HOT 6
- site `http://concurrencykit.org/` is not accessible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ck.