summaryrefslogtreecommitdiffstats
path: root/centos
Commit message (Expand)AuthorAgeFilesLines
* Release 0.7.60.7.6Vsevolod Stakhov2014-11-241-1/+4
* Release 0.7.50.7.5Vsevolod Stakhov2014-11-171-1/+4
* Update versions.Vsevolod Stakhov2014-11-081-1/+4
* Release 0.7.3.0.7.3Vsevolod Stakhov2014-11-031-0/+3
* Update rpm spec.Vsevolod Stakhov2014-10-151-1/+4
* Release 0.7.1.0.7.1Vsevolod Stakhov2014-09-301-0/+3
* Prepare for release.Vsevolod Stakhov2014-09-011-2/+9
* Remove judy and use glib hash tables.Vsevolod Stakhov2014-02-181-17/+1
* Start moving to HTTP world.Vsevolod Stakhov2014-01-121-1/+1
* Stop for 0.6.7.0.6.7Vsevolod Stakhov2014-01-101-1/+4
* Fix some rpmlint warningsAndrew Lewis2014-01-041-1/+8
* Fix SLES support & OpenSUSE 12 builds on build serviceAndrew Lewis2014-01-033-1/+142
* Fixes for OpenSUSEAndrew Lewis2014-01-012-19/+47
* Minor fixes to rpm spec.Vsevolod Stakhov2013-12-271-8/+9
* Update changelogs.0.6.6Vsevolod Stakhov2013-12-271-1/+4
* Update to 0.6.5.0.6.5Vsevolod Stakhov2013-12-201-1/+4
* Improve spec.Vsevolod Stakhov2013-12-201-19/+45
* Fix linux packages.Vsevolod Stakhov2013-12-192-7/+30
* Forgot to commit.Vsevolod Stakhov2013-12-181-1/+4
* 0.6.3 release.0.6.3Vsevolod Stakhov2013-12-101-1/+4
* Update changelog.Vsevolod Stakhov2013-12-061-2/+5
* Fix start script and remove unused big file.Vsevolod Stakhov2013-12-021-2/+2
* Spec update.0.6.1Vsevolod Stakhov2013-12-021-1/+1
* Remove old configAndrew Lewis2013-11-251-1/+0
* Add split config filesAndrew Lewis2013-11-251-0/+7
* Fix date formattingAndrew Lewis2013-11-251-2/+2
* Update packages.Vsevolod Stakhov2013-11-191-17/+24
* Update version in specs.0.5.6Vsevolod Stakhov2013-06-101-1/+4
* Allow explicit turning off of options.Vsevolod Stakhov2013-06-071-3/+15
* Use specific fuzzy database.Vsevolod Stakhov2013-06-031-6/+7
* Explicit dependency on libJudy has been added in centos spec.Vsevolod Stakhov2013-06-031-2/+2
* Increase default limit, as unloading logic is broken.Vsevolod Stakhov2013-05-281-1/+1
* Fix spec and centos sources.Vsevolod Stakhov2013-05-263-34/+41
* Initial version of centos/rhel spec file.Vsevolod Stakhov2013-05-254-0/+995
"w"> # Note that it's not possible to compile PowerPC applications if you are using # the OS X SDK version 10.6 or later - you'll need 10.4/10.5 for that, so we # disable it by default # See this page for more information: # http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4 # Architecture defaults to i386 or ppc on OS X 10.5 and earlier, depending on the CPU type detected at runtime. # On OS X 10.6+ the default is x86_64 if the CPU supports it, i386 otherwise. foreach(osx_arch ${CMAKE_OSX_ARCHITECTURES}) if("${osx_arch}" STREQUAL "ppc" AND ppc_support) set(osx_arch_ppc TRUE) elseif("${osx_arch}" STREQUAL "i386") set(osx_arch_i386 TRUE) elseif("${osx_arch}" STREQUAL "x86_64") set(osx_arch_x86_64 TRUE) elseif("${osx_arch}" STREQUAL "ppc64" AND ppc_support) set(osx_arch_ppc64 TRUE) else() message(FATAL_ERROR "Invalid OS X arch name: ${osx_arch}") endif() endforeach() # Now add all the architectures in our normalized order if(osx_arch_ppc) list(APPEND ARCH ppc) endif() if(osx_arch_i386) list(APPEND ARCH i386) endif() if(osx_arch_x86_64) list(APPEND ARCH x86_64) endif() if(osx_arch_ppc64) list(APPEND ARCH ppc64) endif() else() file(WRITE "${CMAKE_BINARY_DIR}/arch.c" "${archdetect_c_code}") enable_language(C) # Detect the architecture in a rather creative way... # This compiles a small C program which is a series of ifdefs that selects a # particular #error preprocessor directive whose message string contains the # target architecture. The program will always fail to compile (both because # file is not a valid C program, and obviously because of the presence of the # #error preprocessor directives... but by exploiting the preprocessor in this # way, we can detect the correct target architecture even when cross-compiling, # since the program itself never needs to be run (only the compiler/preprocessor) try_run( run_result_unused compile_result_unused "${CMAKE_BINARY_DIR}" "${CMAKE_BINARY_DIR}/arch.c" COMPILE_OUTPUT_VARIABLE ARCH CMAKE_FLAGS CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES} ) # Parse the architecture name from the compiler output string(REGEX MATCH "cmake_ARCH ([a-zA-Z0-9_]+)" ARCH "${ARCH}") # Get rid of the value marker leaving just the architecture name string(REPLACE "cmake_ARCH " "" ARCH "${ARCH}") # If we are compiling with an unknown architecture this variable should # already be set to "unknown" but in the case that it's empty (i.e. due # to a typo in the code), then set it to unknown if (NOT ARCH) set(ARCH unknown) endif() endif() set(${output_var} "${ARCH}" PARENT_SCOPE) endfunction()