fix: use jemalloc to temporary circumvention of crash issues
log: as title
This commit is contained in:
		@ -2,6 +2,10 @@ set(BIN_NAME dde-application-loader)
 | 
			
		||||
 | 
			
		||||
pkg_check_modules(LIBCAP REQUIRED IMPORTED_TARGET libcap)
 | 
			
		||||
 | 
			
		||||
#TODO: use jemalloc to temporary circumvention of crash issues, 
 | 
			
		||||
#find the root cause and remove jemalloc
 | 
			
		||||
pkg_check_modules(JEMALLOC REQUIRED IMPORTED_TARGET jemalloc)
 | 
			
		||||
 | 
			
		||||
set(SRCS
 | 
			
		||||
    ./main.cpp
 | 
			
		||||
    ../modules/tools/desktop_deconstruction.hpp
 | 
			
		||||
@ -36,6 +40,7 @@ add_executable(${BIN_NAME} ${SRCS})
 | 
			
		||||
target_link_libraries(${BIN_NAME}
 | 
			
		||||
    pthread
 | 
			
		||||
    PkgConfig::LIBCAP
 | 
			
		||||
    PkgConfig::JEMALLOC
 | 
			
		||||
    stdc++fs
 | 
			
		||||
    Qt5::Core
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
@ -16,6 +16,10 @@ pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0 gio-unix-2.0)
 | 
			
		||||
pkg_check_modules(GLib REQUIRED IMPORTED_TARGET glib-2.0)
 | 
			
		||||
pkg_check_modules(QGSettings REQUIRED IMPORTED_TARGET gsettings-qt)
 | 
			
		||||
 | 
			
		||||
#TODO: use jemalloc to temporary circumvention of crash issues, 
 | 
			
		||||
#find the root cause and remove jemalloc
 | 
			
		||||
pkg_check_modules(JEMALLOC REQUIRED IMPORTED_TARGET jemalloc)
 | 
			
		||||
 | 
			
		||||
qt5_add_dbus_adaptor(ADAPTER_SOURCES
 | 
			
		||||
                     ../../dbus/org.deepin.dde.Application1.Manager.xml
 | 
			
		||||
                     impl/application_manager.h
 | 
			
		||||
@ -62,6 +66,7 @@ target_link_libraries(${BIN_NAME}
 | 
			
		||||
    PkgConfig::GIO
 | 
			
		||||
    PkgConfig::GLib
 | 
			
		||||
    PkgConfig::QGSettings
 | 
			
		||||
    PkgConfig::JEMALLOC
 | 
			
		||||
    ${DtkWidget_LIBRARIES}
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user