Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
e1d334b8
C
ClickHouse
项目概览
2dot5
/
ClickHouse
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
ClickHouse
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e1d334b8
编写于
4月 02, 2021
作者:
A
alexey-milovidov
提交者:
GitHub
4月 02, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #22487 from mastertheknife/ppc64le_enable_bundled_openldap
ppc64le: Enable the bundled openldap
上级
3827789b
b4003a07
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
1368 addition
and
0 deletion
+1368
-0
cmake/find/ldap.cmake
cmake/find/ldap.cmake
+1
-0
contrib/openldap-cmake/linux_ppc64le/include/lber_types.h
contrib/openldap-cmake/linux_ppc64le/include/lber_types.h
+63
-0
contrib/openldap-cmake/linux_ppc64le/include/ldap_config.h
contrib/openldap-cmake/linux_ppc64le/include/ldap_config.h
+74
-0
contrib/openldap-cmake/linux_ppc64le/include/ldap_features.h
contrib/openldap-cmake/linux_ppc64le/include/ldap_features.h
+61
-0
contrib/openldap-cmake/linux_ppc64le/include/portable.h
contrib/openldap-cmake/linux_ppc64le/include/portable.h
+1169
-0
未找到文件。
cmake/find/ldap.cmake
浏览文件 @
e1d334b8
...
...
@@ -62,6 +62,7 @@ if (NOT OPENLDAP_FOUND AND NOT MISSING_INTERNAL_LDAP_LIBRARY)
if
(
(
"
${
_system_name
}
"
STREQUAL
"linux"
AND
"
${
_system_processor
}
"
STREQUAL
"x86_64"
)
OR
(
"
${
_system_name
}
"
STREQUAL
"linux"
AND
"
${
_system_processor
}
"
STREQUAL
"aarch64"
)
OR
(
"
${
_system_name
}
"
STREQUAL
"linux"
AND
"
${
_system_processor
}
"
STREQUAL
"ppc64le"
)
OR
(
"
${
_system_name
}
"
STREQUAL
"freebsd"
AND
"
${
_system_processor
}
"
STREQUAL
"x86_64"
)
OR
(
"
${
_system_name
}
"
STREQUAL
"darwin"
AND
"
${
_system_processor
}
"
STREQUAL
"x86_64"
)
)
...
...
contrib/openldap-cmake/linux_ppc64le/include/lber_types.h
0 → 100644
浏览文件 @
e1d334b8
/* include/lber_types.h. Generated from lber_types.hin by configure. */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 1998-2020 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is available in file LICENSE in the
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
/*
* LBER types
*/
#ifndef _LBER_TYPES_H
#define _LBER_TYPES_H
#include <ldap_cdefs.h>
LDAP_BEGIN_DECL
/* LBER boolean, enum, integers (32 bits or larger) */
#define LBER_INT_T int
/* LBER tags (32 bits or larger) */
#define LBER_TAG_T long
/* LBER socket descriptor */
#define LBER_SOCKET_T int
/* LBER lengths (32 bits or larger) */
#define LBER_LEN_T long
/* ------------------------------------------------------------ */
/* booleans, enumerations, and integers */
typedef
LBER_INT_T
ber_int_t
;
/* signed and unsigned versions */
typedef
signed
LBER_INT_T
ber_sint_t
;
typedef
unsigned
LBER_INT_T
ber_uint_t
;
/* tags */
typedef
unsigned
LBER_TAG_T
ber_tag_t
;
/* "socket" descriptors */
typedef
LBER_SOCKET_T
ber_socket_t
;
/* lengths */
typedef
unsigned
LBER_LEN_T
ber_len_t
;
/* signed lengths */
typedef
signed
LBER_LEN_T
ber_slen_t
;
LDAP_END_DECL
#endif
/* _LBER_TYPES_H */
contrib/openldap-cmake/linux_ppc64le/include/ldap_config.h
0 → 100644
浏览文件 @
e1d334b8
/* include/ldap_config.h. Generated from ldap_config.hin by configure. */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 1998-2020 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is available in file LICENSE in the
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
/*
* This file works in conjunction with OpenLDAP configure system.
* If you do no like the values below, adjust your configure options.
*/
#ifndef _LDAP_CONFIG_H
#define _LDAP_CONFIG_H
/* directory separator */
#ifndef LDAP_DIRSEP
#ifndef _WIN32
#define LDAP_DIRSEP "/"
#else
#define LDAP_DIRSEP "\\"
#endif
#endif
/* directory for temporary files */
#if defined(_WIN32)
# define LDAP_TMPDIR "C:\\."
/* we don't have much of a choice */
#elif defined( _P_tmpdir )
# define LDAP_TMPDIR _P_tmpdir
#elif defined( P_tmpdir )
# define LDAP_TMPDIR P_tmpdir
#elif defined( _PATH_TMPDIR )
# define LDAP_TMPDIR _PATH_TMPDIR
#else
# define LDAP_TMPDIR LDAP_DIRSEP "tmp"
#endif
/* directories */
#ifndef LDAP_BINDIR
#define LDAP_BINDIR "/tmp/ldap-prefix/bin"
#endif
#ifndef LDAP_SBINDIR
#define LDAP_SBINDIR "/tmp/ldap-prefix/sbin"
#endif
#ifndef LDAP_DATADIR
#define LDAP_DATADIR "/tmp/ldap-prefix/share/openldap"
#endif
#ifndef LDAP_SYSCONFDIR
#define LDAP_SYSCONFDIR "/tmp/ldap-prefix/etc/openldap"
#endif
#ifndef LDAP_LIBEXECDIR
#define LDAP_LIBEXECDIR "/tmp/ldap-prefix/libexec"
#endif
#ifndef LDAP_MODULEDIR
#define LDAP_MODULEDIR "/tmp/ldap-prefix/libexec/openldap"
#endif
#ifndef LDAP_RUNDIR
#define LDAP_RUNDIR "/tmp/ldap-prefix/var"
#endif
#ifndef LDAP_LOCALEDIR
#define LDAP_LOCALEDIR ""
#endif
#endif
/* _LDAP_CONFIG_H */
contrib/openldap-cmake/linux_ppc64le/include/ldap_features.h
0 → 100644
浏览文件 @
e1d334b8
/* include/ldap_features.h. Generated from ldap_features.hin by configure. */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 1998-2020 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is available in file LICENSE in the
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
/*
* LDAP Features
*/
#ifndef _LDAP_FEATURES_H
#define _LDAP_FEATURES_H 1
/* OpenLDAP API version macros */
#define LDAP_VENDOR_VERSION 20501
#define LDAP_VENDOR_VERSION_MAJOR 2
#define LDAP_VENDOR_VERSION_MINOR 5
#define LDAP_VENDOR_VERSION_PATCH X
/*
** WORK IN PROGRESS!
**
** OpenLDAP reentrancy/thread-safeness should be dynamically
** checked using ldap_get_option().
**
** The -lldap implementation is not thread-safe.
**
** The -lldap_r implementation is:
** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety)
** but also be:
** LDAP_API_FEATURE_SESSION_THREAD_SAFE
** LDAP_API_FEATURE_OPERATION_THREAD_SAFE
**
** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
** can be used to determine if -lldap_r is available at compile
** time. You must define LDAP_THREAD_SAFE if and only if you
** link with -lldap_r.
**
** If you fail to define LDAP_THREAD_SAFE when linking with
** -lldap_r or define LDAP_THREAD_SAFE when linking with -lldap,
** provided header definitions and declarations may be incorrect.
**
*/
/* is -lldap_r available or not */
#define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1
/* LDAP v2 Referrals */
/* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */
#endif
/* LDAP_FEATURES */
contrib/openldap-cmake/linux_ppc64le/include/portable.h
0 → 100644
浏览文件 @
e1d334b8
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录