build-process

Is there a way to know which compiler generated a static library?

别等时光非礼了梦想. 提交于 2020-07-17 10:14:33
问题 A third party provided me a static lib (.a) to link with on solaris station. I tried to compile with sunpro, and failed at link step. I suppose the issue is coming from the compiler I use (gcc instead?) or simply its version (as the std lib provided by the compiler could change from the version expected by the library AFAIK it could leads to errors at link step). How could I know which compiler was used to generate this lib? Is there some tools doing that? Some option in sunpro/gcc or

Verifying two different build architectures (one a re-write of the other) are functionally equivalent

核能气质少年 提交于 2020-01-25 10:51:49
问题 I'm re-writing a build that produces a number of things (shared/static libraries, jars, executables, etc). The question came up whether there's a way to verify that the results are functionally equivalent without doing a full top-to-bottom test of the resulting software. However, that is proving to be more difficult to do than I anticipated. As an example, I expected that the md5 of two objects produced from the same source (sun studio C++ compiler) and command-line parameters would have the

CMake or Waf for D project

江枫思渺然 提交于 2020-01-22 17:34:46
问题 We are looking for adequate build tool for a desktop GUI application to be written in D (using Qt toolkit), consisting of several native libraries, using 3rd party C-lib(s). It has to build on Linux (native development) and Mac as well on Windows. We might adopt Code::Blocks as IDE. Waf already has support for D language, while CMake is just receiving it cmaked2. CMake uses special language, while Waf is pure Python...Otoh, CMake, via CPack, can produce packages in several formats as well as

What algorithm does buildbot use to assign builders to slaves?

╄→尐↘猪︶ㄣ 提交于 2020-01-21 04:58:08
问题 I have a buildbot with some builders and two slave machines. Some of the builders can run on one slave, and some of them can run on both machines. What algorithm will buildbot use to schedule the builds? Will it notice that some builders can run on just one slave and that it should assign those that can run on both slaves to the less demanded one? (I know buildbot can be used to run the same build on multiple architectures, say Windows, Linux, etc. We are using it to distribute builds for

How to build Port Audio using mingw and msys?

ε祈祈猫儿з 提交于 2020-01-16 19:24:07
问题 I have problem building Port Audio on windows machine. I am following this tutorial: http://portaudio.com/docs/v19-doxydocs/compile_windows_mingw.html Running make after ./configure runs build process and finally outputs this message and that is where build process stop. /bin/sh ./libtool --mode=link gcc -shared -rpath /usr/local/lib -no-undefined - export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS)_.*" -version-inf o 2:0:0 -o lib/libportaudio.la src/common/pa_allocation.lo src

changing or upgrading built-in org.json libraries, is possible and a good idea?

久未见 提交于 2020-01-15 07:22:31
问题 My application depends a lot on the JSON library org.json.* . This package is built-in into Android standard libraries, something I didn't know because I also included it in my source tree . I need to use a function ( JSONArray.remove ) that is not supported on the built-in package, while it is in the source distribution jar from org.json (that I include in my project). So what happens is, everything compiles & all, but I get java.lang.NoSuchMethodError: org.json.JSONArray.remove at runtime.

Run command line when a document is saved in Visual Studio 2013?

雨燕双飞 提交于 2020-01-14 02:50:07
问题 I'm currently evaluating using VS2013 for a HTML5 project. In this project I would like to be able to run a command line tool every time a file is saved (and have the file path passed as argument to the command line tool), and then have the output displayed in the console in VS. It's also important that this setup can be part of the project file, so that when a developer opens the project it's already setup correctly and ready to go without any additional configuring in VS. In both Sublime

ANT How to delete ONLY empty directories recursively

早过忘川 提交于 2020-01-13 08:06:08
问题 Does anyone know how to recursively delete "empty" directories with ANT (empty includes directories that only contain ".svn" etc). I know ant allows you to "includeEmptyDirs=true" but I want it to ONLY delete a directory if it is empty (and actually I'd probably need to walk up the recursive chain and delete the directory it was contained in if it is now empty). Basically as part of our build process we copy over a set of directories that contain a bunch of other nested directories containing

ANT How to delete ONLY empty directories recursively

只谈情不闲聊 提交于 2020-01-13 08:04:04
问题 Does anyone know how to recursively delete "empty" directories with ANT (empty includes directories that only contain ".svn" etc). I know ant allows you to "includeEmptyDirs=true" but I want it to ONLY delete a directory if it is empty (and actually I'd probably need to walk up the recursive chain and delete the directory it was contained in if it is now empty). Basically as part of our build process we copy over a set of directories that contain a bunch of other nested directories containing