Skip to content

Commit f81e20f

Browse files
committed
Fix V1
1 parent ef9aef5 commit f81e20f

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ else()
172172
OUTPUT ${jemalloc_targ_BINARY_DIR}/lib/libjemalloc.a
173173
DEPENDS ${jemalloc_targ_SOURCE_DIR}/lib/libjemalloc.a)
174174

175+
add_custom_target(jemalloc_prod
176+
DEPENDS ${jemalloc_targ_BINARY_DIR}/lib/libjemalloc.a)
177+
175178
add_custom_target(
176179
check-license
177180
COMMAND ${UMF_CMAKE_SOURCE_DIR}/check_license/check-headers.sh

check_license/check-headers.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SELF=$0
99

1010
function usage() {
11-
echo "Usage: $SELF <source_root_path> <license_tag> [-h|-v|-a]"
11+
echo "Usage: $SELF <source_root_path> <license_tag> [-h|-v|-a|-d]"
1212
echo " -h, --help this help message"
1313
echo " -v, --verbose verbose mode"
1414
echo " -a, --all check all files (only modified files are checked by default)"
@@ -183,4 +183,4 @@ if [ $RV -eq 0 ]; then
183183
else
184184
echo "Error(s) in copyright headers found!" >&2
185185
fi
186-
exit $RV
186+
exit $RV

check_license/file-exceptions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
55

66
# You can add an exception file
7-
grep -v -E -e 'src\topology.c'
7+
grep -v -E -e 'src\topology.c'

src/base_alloc/base_alloc_global.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
*
32
* Copyright (C) 2024 Intel Corporation
43
*
54
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
65
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7-
*
8-
*/
6+
*/
7+
8+
/* A MT-safe base allocator */
99

1010
#include <assert.h>
1111
#include <stdio.h>

0 commit comments

Comments
 (0)