summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* .gitignore: Add 'configure~' fileHEADmasterIvan Maidanski2023-04-171-0/+1
|
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warningIvan Maidanski2023-03-311-1/+5
| | | | | | | | | | | | The workaround is to use __atomic_test_and_set instead of __atomic_thread_fence in case of option -fsanitize=thread is passed to gcc (or clang). The old behavior could be turned on by defining AO_USE_ATOMIC_THREAD_FENCE macro. * src/atomic_ops/sysdeps/gcc/generic.h [!AO_UNIPROCESSOR && AO_THREAD_SANITIZER && !AO_USE_ATOMIC_THREAD_FENCE] (AO_nop_read, AO_nop_write, AO_nop_full): Do not define (using __atomic_thread_fence); add comment.
* Bump libatomic_ops version to 7.9.0 (next release development)Ivan Maidanski2023-03-286-7/+20
| | | | | | | | | | * CMakeLists.txt (PACKAGE_VERSION): Bump version to 7.9.0. * .appveyor.yml (version): Likewise. * .travis.yml (env.addons.coverity_scan.project.version): Likewise. * README.md: Likewise. * configure.ac (AC_INIT): Likewise. * src/atomic_ops/ao_version.h (AO_VERSION_MINOR): Likewise. * README.md: Add back the build status indicators for "master" branch.
* Travis CI: Update autotools for distcheckv7.8.0Ivan Maidanski2023-03-281-3/+10
| | | | | | | | New tools version to prepare the distributive tarball: - autoconf 2.71 (was 2.69) - automake 1.16.5 - m4 1.4.19 (was 1.4.18) - libtool 2.4.7 (was 2.4.6, needed to build automake)
* Revert "Travis CI: Change to Ubuntu Jammy for distcheck"Ivan Maidanski2023-03-271-1/+24
| | | | | | This reverts commit b4624c1b196616bb059451448b2593686dabc0b9. The reason is that travis deployment script is not yet ported to Jammy.
* Revert "Travis CI: Do gem install mime-types before release deployment"Ivan Maidanski2023-03-271-3/+0
| | | | | | | This reverts commit 8c5c50e05cf9b3c892911cd9a60095906fe21d98. The reason is that it does not resolve the gem versioning issue between Ruby and mime-types.
* Revert "Travis CI: Use ruby-2.7 instead of mime-types update before"Ivan Maidanski2023-03-271-1/+1
| | | | | | | This reverts commit 7f731c96672c6be37b9da54c26a7fafa64407a89. The reason is that it does not resolve the gem versioning issue between Ruby and mime-types.
* Travis CI: Use ruby-2.7 instead of mime-types update before release deployIvan Maidanski2023-03-271-1/+1
| | | | | This is another attempt to resolve a gem versioning issue between Ruby 3.0 and mime-types 3.2.2, now by using older Ruby (2.7.7).
* Travis CI: Do gem install mime-types before release deploymentIvan Maidanski2023-03-271-0/+3
| | | | | This is to resolve a gem versioning issue between Ruby 3.0 and mime-types 3.2.2 by updating the latter to 3.3.1 or above.
* [7.8.0]Ivan Maidanski2023-03-268-25/+12
| | | | | | | | | | | | | | | | | | Bump libatomic_ops version to 7.8.0. * CMakeLists.txt (PACKAGE_VERSION): Bump version to 7.8.0. * ChangeLog (7.7.0): Likewise. * README.md: Likewise. * configure.ac (AC_INIT): Likewise. * src/atomic_ops/ao_version.h (AO_VERSION_MINOR): Likewise. * .travis.yml (env.addons.coverity_scan.project.version): Likewise. * .appveyor.yml (version): Change to 7.8.x. * CMakeLists.txt (LIBATOMIC_OPS_VER_INFO, LIBATOMIC_OPS_GPL_VER_INFO): Change to 3:0:2. * src/Makefile.am (LIBATOMIC_OPS_VER_INFO, LIBATOMIC_OPS_GPL_VER_INFO): Likewise. * ChangeLog (7.8.0): Set release date. * README.md: Remove build status indicators for "master" branch.
* Travis CI: Use default gcc on Ubuntu Bionic on s390xIvan Maidanski2023-03-261-8/+2
|
* Travis CI: Change to Ubuntu Jammy for some builds with clangIvan Maidanski2023-03-261-0/+3
|
* Travis CI: Change clang-12 to clang-14 (on Ubuntu Jammy x64)Ivan Maidanski2023-03-261-25/+15
|
* Travis CI: Change to Ubuntu Jammy for builds with gcc-11 and g++ (x64)Ivan Maidanski2023-03-261-8/+6
| | | | The default gcc is gcc-11 in Jammy release.
* Travis CI: Remove duplicate build with gcc-11/x64 -O3Ivan Maidanski2023-03-261-10/+0
| | | | (fix of commit 3e00e6b4)
* Travis CI: Change to Ubuntu Jammy for CSA, musl-gcc and mingw32-gccIvan Maidanski2023-03-261-0/+4
|
* Travis CI: Use cppcheck from Ubuntu JammyIvan Maidanski2023-03-261-10/+14
|
* Travis CI: Change to Ubuntu Jammy for distcheckIvan Maidanski2023-03-261-24/+1
| | | | Autoconf 2.71 is the default package version in dist jammy.
* Add depcomp utility to distribution (configure)Ivan Maidanski2023-02-251-0/+1
| | | | * configure.ac (AC_PROG_INSTALL): Specify.
* Revert "Add LGTM.com code quality badges to README"Ivan Maidanski2023-01-251-2/+0
| | | | | | This reverts commit f94d1939f7806ce337bec37fed0e3db14caa050f. The reason: LGTM badges are no longer supported.
* Install ChangeLog among doc filesIvan Maidanski2023-01-202-2/+2
| | | | | | * CMakeLists.txt [enable_docs] (CMAKE_INSTALL_DOCDIR): Add "ChangeLog" entry. * Makefile.am [ENABLE_DOCS] (dist_doc_DATA): Likewise.
* Fix 'unknown option --no-undefined' linker error in cmake script (OS X)Ivan Maidanski2022-09-231-7/+28
| | | | | | | | | | | | | | | | | | | | | | | | | Use check_linker_flag() and LINKER prefix in CMakeLists.txt. This fixes the linker error that "--no-undefined" option is unknown, at least with apple-clang 13.0. * CMakeLists.txt [CMP0057] (CMP0057): Set to NEW. * CMakeLists.txt [$CMAKE_VERSION<3.18.0]: Include CheckLinkerFlag. * CMakeLists.txt [BUILD_SHARED_LIBS] (WL_NO_UNDEFINED_OPT): New variable. * CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.18.0] (WL_NO_UNDEFINED_OPT): Use "LINKER:" prefix. * CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.18.0] (HAVE_FLAG_WL_NO_UNDEFINED): Use check_linker_flag(C) instead of check_c_compiler_flag. * CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION<3.13.0] (atomic_ops): Use $WL_NO_UNDEFINED_OPT. * CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION<3.13.0 && enable_gpl] (atomic_ops_gpl): Likewise. * CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.13.0] (atomic_ops): Use target_link_options instead of target_link_libraries; remove TODO item. * CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.13.0 && enable_gpl] (atomic_ops_gpl): Likewise.
* Update shared objects version info to be not lower than in ver 7.6.14Ivan Maidanski2022-08-272-2/+2
| | | | | | * CMakeLists.txt (LIBATOMIC_OPS_GPL_VER_INFO): Increment current and age (change version info of libcord.so to 2:3:1). * src/Makefile.am (LIBATOMIC_OPS_GPL_VER_INFO): Likewise.
* Update ChangeLog fileIvan Maidanski2022-08-251-0/+26
|
* Update ChangeLog file (set v7.6.14 release date)Ivan Maidanski2022-08-251-1/+1
|
* Update ChangeLog file (v7.6 changes)Ivan Maidanski2022-08-251-0/+10
|
* Update ChangeLog file (set v7.4.18 release date)Ivan Maidanski2022-08-251-1/+1
|
* Update ChangeLog file (set v7.2k release date)Ivan Maidanski2022-08-251-1/+1
|
* Update ChangeLog file (v7.2 - v7.4 changes only)Ivan Maidanski2022-08-251-0/+5
|
* Update ChangeLog file (v7.2 - v7.4 changes only)Ivan Maidanski2022-08-251-0/+11
|
* Do not use include_directories(src) in CMakeLists.txtIvan Maidanski2022-08-241-8/+6
| | | | | | | | (refactoring) * CMakeLists.txt (src): Remove include_directories specification. * CMakeLists.txt (atomic_ops): Specify path to "src" as public. * CMakeLists.txt [enable_gpl] (atomic_ops_gpl): Likewise.
* Use target_compile_definitions instead of target_compile_options (CMake)Ivan Maidanski2022-08-241-3/+4
| | | | | | | | | | (refactoring) * CMakeLists.txt [build_tests] (test_atomic_generalized): Change target_compile_definitions() to target_compile_definitions() and remove "-D" prefix for each defined macro. * CMakeLists.txt [build_tests && CMAKE_USE_PTHREADS_INIT] (test_atomic_pthreads): Likewise.
* Do not use add_definitions in favor of add_compile_definitions (CMake)Ivan Maidanski2022-08-241-6/+6
| | | | | | | | | | | | (refactoring) According to the CMake manual, add_definitions() has been superseded by alternatives like add_compile_definitions(). * CMakeLists.txt (add_definitions): Replace to add_compile_options; remove quotes. * CMakeLists.txt [enable_assertions] (add_compile_options): Remove quotes.
* Pass -D HAVE_MMAP to compiler only for atomic_ops_gpl files (CMake)Ivan Maidanski2022-08-241-3/+3
| | | | | | | | (refactoring) * CMakeLists.txt [enable_gpl] (atomic_ops_gpl): Use target_compile_definitions() to define HAVE_MMAP instead of add_definitions().
* Avoid 'cast increases required alignment' warnings in atomic_ops_malloc.cIvan Maidanski2022-08-241-8/+11
| | | | | | | | | | | | * src/atomic_ops_malloc.c [HAVE_MMAP] (AO_malloc_large): Change type of result local variable from char* to void*. * src/atomic_ops_malloc.c [HAVE_MMAP] (AO_free_large): Change type of argument from char* to void*. * src/atomic_ops_malloc.c (add_chunk_as): Cast to AO_t* from void* directly (adjust ofs accordingly); add assertion that sz is multiple of AO_t size. * src/atomic_ops_malloc.c (AO_free): Remove cast to char* in AO_free_large() call.
* Travis CI: Pass --verbose option to cmake only on FreeBSDIvan Maidanski2022-08-191-1/+2
| | | | | | | | (fix of commit f5b6d54d1) This is because cmake on Ubuntu Xenial and Ubuntu Bionic (the cmake version existing by default on these Ubuntu releases) does not support the option to turn on verbose mode.
* Travis CI: Treat CMake script warnings as errorsIvan Maidanski2022-08-191-2/+1
| | | | | This turns on CMake developer warnings (in addition to the deprecation ones) and make them errors.
* Travis CI: Print cmake version (if building with cmake)Ivan Maidanski2022-08-191-0/+3
|
* AppVeyor CI: Remove 'cd' command before 'ctest' oneIvan Maidanski2022-08-191-1/+1
| | | | (fix of commit 516bd619c)
* Set default build type to RelWithDebInfo (CMake)Ivan Maidanski2022-08-191-1/+13
| | | | | | | | | | | This enforces -O2 -g options passed to the compiler (in case of the gcc or clang compiler), matching that of the configure-based build. * CMakeLists.txt [!CMAKE_BUILD_TYPE && !CMAKE_CONFIGURATION_TYPES] (CMAKE_BUILD_TYPE): Set to RelWithDebInfo; set property (listing all possible values). * CMakeLists.txt [enable_assertions]: Add -UNDEBUG compile option; add comment.
* AppVeyor CI: Build with CMake from a separate folderIvan Maidanski2022-08-191-2/+3
|
* Travis CI: Use CMAKE_BUILD_TYPE instead of cmake --configIvan Maidanski2022-08-191-18/+13
|
* AppVeyor CI: Test with non-default CMAKE_BUILD_TYPEIvan Maidanski2022-08-191-2/+2
|
* AppVeyor CI: Turn on parallel mode in CMake testIvan Maidanski2022-08-191-1/+1
| | | | This assumes CMake 3.12 or later. Number of parallel jobs: 4.
* Travis CI: Turn on parallel mode in CMake testIvan Maidanski2022-08-191-1/+1
| | | | This assumes CMake 3.12 or later. Number of parallel jobs: 4.
* AppVeyor CI: Turn on verbose mode in builds by CMakeIvan Maidanski2022-08-191-1/+1
|
* Travis CI: Turn on verbose mode in builds by CMakeIvan Maidanski2022-08-191-1/+1
|
* Fix AO_compare_and_swap_full asm code for clang on sparcIvan Maidanski2022-08-101-12/+6
| | | | | | | | | | | | | | | | Issue #52 (libatomic_ops). The issue (SIGSEGV in test_malloc) is observed with clang-13, at least. The workaround is to simplify asm code of AO_compare_and_swap_full (moving the comparison of CAS result and old value to C code). * src/atomic_ops/sysdeps/gcc/sparc.h [(!(AO_GNUC_PREREQ(12,0) || AO_CLANG_PREREQ(13,0)) || AO_DISABLE_GCC_ATOMICS) && !AO_NO_SPARC_V9 && !AO_GENERALIZE_ASM_BOOL_CAS] (AO_compare_and_swap_full): Remove ret local variable; remove cmp, be, mov, clr instructions from asm block (to match that of AO_fetch_compare_and_swap_full); remove cc from asm block clobbers; change specifier for old input operand of asm block (from "0" to "r"); return new_val==old instead of ret.
* Update Travis CI badge URL in READMEIvan Maidanski2022-08-031-1/+1
|
* Add OpenSSF Best Practices badge to READMEIvan Maidanski2022-08-031-0/+1
|