Skip to content

Commit 5bdefbf

Browse files
committed
Bug 39464047 - [39463975->26.07] remove unsupported macOS x86_64 HNSW library (main cl 120773 --> main CE)
[git-p4: depot-paths = "//dev/coherence-ce/main/": change = 120774]
1 parent 1d2e6b8 commit 5bdefbf

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

prj/Makefile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ----------------------------------------------------------------------------------------------------------------------
2-
# Copyright (c) 2022, 2024, Oracle and/or its affiliates.
2+
# Copyright (c) 2022, 2026, Oracle and/or its affiliates.
33
#
44
# Licensed under the Universal Permissive License v 1.0 as shown at
55
# https://oss.oracle.com/licenses/upl.
@@ -104,7 +104,7 @@ HNSW_LIB_DIR ?= coherence-hnsw/src/main/resources
104104

105105
##@ HNSW
106106
.PHONY: hnsw
107-
hnsw: hnsw-info coherence-hnsw/src/main/resources/libhnswlib-aarch64.dylib coherence-hnsw/src/main/resources/libhnswlib-x86-64.dylib coherence-hnsw/src/main/resources/libhnswlib-aarch64.so coherence-hnsw/src/main/resources/libhnswlib-x86-64.so coherence-hnsw/src/main/resources/libhnswlib-x86-64.dll ## Build the HNSW native C++ library and JNA bindings for the current O/S
107+
hnsw: hnsw-info coherence-hnsw/src/main/resources/libhnswlib-aarch64.dylib coherence-hnsw/src/main/resources/libhnswlib-aarch64.so coherence-hnsw/src/main/resources/libhnswlib-x86-64.so coherence-hnsw/src/main/resources/libhnswlib-x86-64.dll ## Build the HNSW native C++ library and JNA bindings for the current O/S
108108
@echo "Done"
109109

110110
.PHONY: hnsw-info
@@ -123,18 +123,6 @@ coherence-hnsw/src/main/resources/libhnswlib-aarch64.dylib: $(HNSW_HDR_FILES) $(
123123
endif
124124
endif
125125

126-
.PHONY: hnsw-macos-x86
127-
hnsw-macos-x86: coherence-hnsw/src/main/resources/libhnswlib-x86-64.dylib
128-
129-
coherence-hnsw/src/main/resources/libhnswlib-x86-64.dylib: $(HNSW_HDR_FILES) $(HNSW_CPP_FILES)
130-
ifeq ($(OS_NAME),Mac OS X)
131-
ifeq ($(OS_ARCH),x86_64)
132-
echo "Building HNSW library for MacOS x86_64: $(HNSW_LIB_DIR)/libhnswlib-x86-64.dylib"
133-
mkdir -p $(HNSW_LIB_DIR) || true
134-
g++ -O3 -shared -std=c++11 $(HNSW_CPP_SRC)/bindings.cpp -I $(HNSW_CPP_SRC)/hnswlib -o $(HNSW_LIB_DIR)/libhnswlib-x86-64.dylib
135-
endif
136-
endif
137-
138126
.PHONY: hnsw-linux-aarch64
139127
hnsw-linux-aarch64: coherence-hnsw/src/main/resources/libhnswlib-aarch64.so
140128

-84.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)