llvm.org GIT mirror llvm / 0a8d71a
Revert "Rename llvm library from libLLVM-X.Y to libLLVM-X" We need the soname and symbol versions to includes the minor release number for 7.1.0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@352580 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 8 months ago
4 changed file(s) with 5 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
8282 # FIXME: Don't write the "local:" line on OpenBSD.
8383 # in the export file, also add a linker script to version LLVM symbols (form: LLVM_N.M)
8484 add_custom_command(OUTPUT ${native_export_file}
85 COMMAND echo "LLVM_${LLVM_VERSION_MAJOR} {" > ${native_export_file}
85 COMMAND echo "LLVM_${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR} {" > ${native_export_file}
8686 COMMAND grep -q "[[:alnum:]]" ${export_file} && echo " global:" >> ${native_export_file} || :
8787 COMMAND sed -e "s/$/;/" -e "s/^/ /" < ${export_file} >> ${native_export_file}
8888 COMMAND echo " local: *;" >> ${native_export_file}
499499 PROPERTIES
500500 # Since 4.0.0, the ABI version is indicated by the major version
501501 SOVERSION ${LLVM_VERSION_MAJOR}
502 VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX})
502 VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
503503 endif()
504504 endif()
505505
521521 if(${output_name} STREQUAL "output_name-NOTFOUND")
522522 set(output_name ${name})
523523 endif()
524 set(library_name ${output_name}-${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX})
524 set(library_name ${output_name}-${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}${LLVM_VERSION_SUFFIX})
525525 set(api_name ${output_name}-${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
526526 set_target_properties(${name} PROPERTIES OUTPUT_NAME ${library_name})
527527 llvm_install_library_symlink(${api_name} ${library_name} SHARED
2828 `LLVM Compiler Toolchain Visual Studio extension `_
2929 is available on the Visual Studio Marketplace. The new integration
3030 supports Visual Studio 2017.
31
32 * Libraries have been renamed from 7.0 to 7. This change also impacts
33 downstream libraries like lldb.
3431
3532 * The LoopInstSimplify pass (``-loop-instsimplify``) has been removed.
3633
3636 set(LLVM_CXXFLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} ${COMPILE_FLAGS} ${LLVM_DEFINITIONS}")
3737 set(LLVM_BUILD_SYSTEM cmake)
3838 set(LLVM_HAS_RTTI ${LLVM_CONFIG_HAS_RTTI})
39 set(LLVM_DYLIB_VERSION "${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}")
39 set(LLVM_DYLIB_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}${LLVM_VERSION_SUFFIX}")
4040 set(LLVM_HAS_GLOBAL_ISEL "ON")
4141
4242 # Use the C++ link flags, since they should be a superset of C link flags.
None LLVM_@LLVM_VERSION_MAJOR@ { global: *; };
0 LLVM_@LLVM_VERSION_MAJOR@.@LLVM_VERSION_MINOR@ { global: *; };