| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
sanitizers and coverage as all 4 are usefully set independently.
Use GCC 4.9 on CircleCI as it seems to be supported. Add ASan + UBSan test.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously a build had optimizations disabled completely when debug info was
emitted. But there are many reasons to use optimized builds with debug symbols
(running under valgrind, against afl, with Asan/Ubsan, in prod, etc).
And personally I find even debugging at -O2 or -O3 is fine most of the time and
worth it for the speed. Use the (now documented!) --no-optimizations flag if no
optimization is desired while debugging.
This also removes the distinction between library and application compile flags;
there is a single optimization level that is probably good enough for everything.
On Win32 it removes definding _CONSOLE for the application. This seems to be
some mythical value that may have been required at some point, but is not
documented anywhere I can find. Who knows what VC thinks, hoping I don't have to
add this back. It also drops defining `EBUG` which is what happens when you
tell cl.exe to '/DEBUG'. LOL.
|
|
|
|
|
| |
but the meaning of the option is probably easier to understand with
this name.
|
|
|
|
|
|
|
| |
On Darwin platforms, there are frameworks that can bundle libraries and
header files in a standardized directory structure. We need to support
linking to them because most of the OS X or iOS-specific APIs are
provided as frameworks.
|
| |
|
|
|
|
|
|
|
|
| |
With this change the tests pass when linked against a static library
built in the normal (non-amalgamation) fashion.
Remove the restriction in configure.py, and have circleci build the
clang static build as a non-amalg.
|
|
|
|
|
|
|
|
| |
* Rename variable to avoid confusion of build_shared and
options.build_shared_lib
* Don't automatically change shared -> static. Force user to do that
Fixes #211
|
| |
|
|
|
|
|
|
| |
Allow multiple ABI link flags with the same name, e.g.,
-arch armv7 -arch armv7s when cross-compiling
for iOS. This is the first fix necessary for fixing #188.
|
|
|
|
| |
Fixes #241
|
| |
|
|
|
|
|
|
|
|
| |
* Increase minimal python version to 2.7
* Remove monotone revision command
* Set choices for --link-method argument
Closes #217
|
| |
|
|
|
|
| |
Thanks to @vlajos https://github.com/vlajos/misspell_fixer
|
|
|
|
|
|
|
| |
Before a typo in a module name was a warning. It now is an error because
it is potentially harmful.
[ci skip]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This commit aims to preserve all settings. In some cases it will drop
optimization flags and fall back to compiler's defaults in the new debug
mode.
|
|
|
|
|
|
| |
--gen-amalgamation does not use amalgamation in the Makefile
[ci skip]
|
| |
|
|
|
|
| |
Closes #128.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Includes must be unique per .cpp file, not globally. Fixes #105
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This makes setting LD_LIBRARY_PATH obsolete when Botan lib and botan
/botan-test binary are in the same directory. This behavior is default
on Windows.
LD_LIBRARY_PATH can still be used to override the RPATH.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unused make variables VERSION, BRANCH
- Move first make all target below all variable definitions
- Move "Executable targets" as well as "LIBNAME" from header.in into
gmake.in and nmake.in. Those variables differ more than they share
and are getting too abstract.
- Use new variable names: LIB_BASENAME, LIB_FILENAME. Drop LIBNAME and
BOTAN_LIB
- Write libs to out_dir now, which enables out-of-tree builds
GH #110, replaces #70 #106 #107 fixes #85
|
|
|
|
| |
the mailing list.
|
| |
|
|
|
|
| |
encoding= flags since they are not needed anymore and broke Python2.
|
| |
|
|
|
|
|
| |
Read and write the amalgamation as latin1 so python3 treats it as just bits
instead of invalid UTF8
|
| |
|
|
|
|
|
|
| |
JOM is a nmake-compatible tool for Windows which supports -jN for
parallel builds. JOM's $? variable is broken, but this workaround
is simple. Github pull 66 from Simon Warta.
|
| |
|
|
|
|
|
|
| |
If we're building via amalgamation then we need to edit what goes into
the makefile. That requires the amalgamation run before the makefile
since we don't know how many files there will be until we do the scan.
|
|
|
|
|
| |
build.h exists. Otherwise an amalg build with a clean working dir
will fail because build.h is not found. Github issue 57.
|