kassane commented on PR #44536: URL: https://github.com/apache/arrow/pull/44536#issuecomment-2439749552
> I'm not familiar with D but why do we need to create a D program just build the D bindings? Like cargo (Rust), dub only get D files (all *.d in rootpath) by default. `build.d` will only be applied for building non-D project. For this use case, it is assumed that the user does not have Arrow installed. > > Can we simplify this? > * Can we detect already installed Apache Arrow GLib by `pkgconf --cflags --libs arrow-glib` instead of building Apache Arrow C++ and GLib? `dub.json`: `libs = [...]` use `pkg-config` by default on posix. Also is possible add specialized libraries like: `libs-posix`|`libs-windows` > * Can we create a shell script that just runs `dub run girtod -- --gir-directory $(pkgconf --variable=girdir arrow-glib) --input $(pkgconf --variable=girdir arrow-glib/Arrow-1.0.gir --output source --user-runtime-linker`? > Yeah on `dub.json` can add multi commands on `preBuildCommands`. Like `dub.json` from glibD project. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
