Title: [226980] trunk/PerformanceTests
- Revision
- 226980
- Author
- achristen...@apple.com
- Date
- 2018-01-16 10:58:47 -0800 (Tue, 16 Jan 2018)
Log Message
Fix Mac CMake build after r222900
* MallocBench/MallocBench/CMakeLists.txt:
The mbmalloc target doesn't exist if we're not in developer mode, so only use it if we are.
Modified Paths
Diff
Modified: trunk/PerformanceTests/ChangeLog (226979 => 226980)
--- trunk/PerformanceTests/ChangeLog 2018-01-16 18:55:09 UTC (rev 226979)
+++ trunk/PerformanceTests/ChangeLog 2018-01-16 18:58:47 UTC (rev 226980)
@@ -1,3 +1,10 @@
+2018-01-16 Alex Christensen <achristen...@webkit.org>
+
+ Fix Mac CMake build after r222900
+
+ * MallocBench/MallocBench/CMakeLists.txt:
+ The mbmalloc target doesn't exist if we're not in developer mode, so only use it if we are.
+
2018-01-09 Ryosuke Niwa <rn...@webkit.org>
Speedometer 2.0: Update the About page.
Modified: trunk/PerformanceTests/MallocBench/MallocBench/CMakeLists.txt (226979 => 226980)
--- trunk/PerformanceTests/MallocBench/MallocBench/CMakeLists.txt 2018-01-16 18:55:09 UTC (rev 226979)
+++ trunk/PerformanceTests/MallocBench/MallocBench/CMakeLists.txt 2018-01-16 18:58:47 UTC (rev 226980)
@@ -47,9 +47,11 @@
include_directories(${MALLOC_BENCH_INCLUDE_DIRECTORIES})
SET(CMAKE_SKIP_BUILD_RPATH TRUE)
-add_executable(MallocBench ${MALLOC_BENCH_SOURCES})
-target_link_libraries(MallocBench ${CMAKE_THREAD_LIBS_INIT} ${MALLOC_BENCH_LIBRARIES} mbmalloc)
-add_dependencies(MallocBench sysmalloc mbmalloc)
+if (DEVELOPER_MODE)
+ add_executable(MallocBench ${MALLOC_BENCH_SOURCES})
+ target_link_libraries(MallocBench ${CMAKE_THREAD_LIBS_INIT} ${MALLOC_BENCH_LIBRARIES} mbmalloc)
+ add_dependencies(MallocBench sysmalloc mbmalloc)
+endif ()
set(MALLOC_BENCH_OPS
facebook.ops
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes