fix: use jemalloc to temporary circumvention of crash issues
log: as title
This commit is contained in:
parent
3932b3637e
commit
b9e5abf214
1
debian/control
vendored
1
debian/control
vendored
@ -7,6 +7,7 @@ Build-Depends:
|
|||||||
debhelper-compat (= 11),
|
debhelper-compat (= 11),
|
||||||
pkg-config,
|
pkg-config,
|
||||||
libcap-dev,
|
libcap-dev,
|
||||||
|
libjemalloc-dev,
|
||||||
qt5-qmake,
|
qt5-qmake,
|
||||||
qtbase5-dev,
|
qtbase5-dev,
|
||||||
qttools5-dev,
|
qttools5-dev,
|
||||||
|
@ -2,6 +2,10 @@ set(BIN_NAME dde-application-loader)
|
|||||||
|
|
||||||
pkg_check_modules(LIBCAP REQUIRED IMPORTED_TARGET libcap)
|
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
|
set(SRCS
|
||||||
./main.cpp
|
./main.cpp
|
||||||
../modules/tools/desktop_deconstruction.hpp
|
../modules/tools/desktop_deconstruction.hpp
|
||||||
@ -36,6 +40,7 @@ add_executable(${BIN_NAME} ${SRCS})
|
|||||||
target_link_libraries(${BIN_NAME}
|
target_link_libraries(${BIN_NAME}
|
||||||
pthread
|
pthread
|
||||||
PkgConfig::LIBCAP
|
PkgConfig::LIBCAP
|
||||||
|
PkgConfig::JEMALLOC
|
||||||
stdc++fs
|
stdc++fs
|
||||||
Qt5::Core
|
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(GLib REQUIRED IMPORTED_TARGET glib-2.0)
|
||||||
pkg_check_modules(QGSettings REQUIRED IMPORTED_TARGET gsettings-qt)
|
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
|
qt5_add_dbus_adaptor(ADAPTER_SOURCES
|
||||||
../../dbus/org.deepin.dde.Application1.Manager.xml
|
../../dbus/org.deepin.dde.Application1.Manager.xml
|
||||||
impl/application_manager.h
|
impl/application_manager.h
|
||||||
@ -62,6 +66,7 @@ target_link_libraries(${BIN_NAME}
|
|||||||
PkgConfig::GIO
|
PkgConfig::GIO
|
||||||
PkgConfig::GLib
|
PkgConfig::GLib
|
||||||
PkgConfig::QGSettings
|
PkgConfig::QGSettings
|
||||||
|
PkgConfig::JEMALLOC
|
||||||
${DtkWidget_LIBRARIES}
|
${DtkWidget_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user