Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ jobs:

mkdir ~/pgvector-install
curl -fsSL https://github.com/pgvector/pgvector/archive/refs/tags/v0.8.1.tar.gz | tar -xz -C ~/pgvector-install
make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=$(brew --prefix postgresql@${{ matrix.version }})/bin/pg_config CC='sccache clang'
sudo make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=$(brew --prefix postgresql@${{ matrix.version }})/bin/pg_config CC='sccache clang' install
make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=$(brew --prefix postgresql@${{ matrix.version }})/bin/pg_config CC='sccache clang' OPTFLAGS=""
sudo make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=$(brew --prefix postgresql@${{ matrix.version }})/bin/pg_config CC='sccache clang' OPTFLAGS="" install

- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down Expand Up @@ -619,8 +619,8 @@ jobs:

mkdir ~/pgvector-install
curl -fsSL https://github.com/pgvector/pgvector/archive/refs/tags/v0.8.1.tar.gz | tar -xz -C ~/pgvector-install
make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=/usr/libexec/postgresql${{ matrix.version }}/pg_config CC='sccache clang-18'
make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=/usr/libexec/postgresql${{ matrix.version }}/pg_config CC='sccache clang-18' install
make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=/usr/libexec/postgresql${{ matrix.version }}/pg_config CC='sccache clang-18' OPTFLAGS=""
make -C ~/pgvector-install/pgvector-0.8.1 PG_CONFIG=/usr/libexec/postgresql${{ matrix.version }}/pg_config CC='sccache clang-18' OPTFLAGS="" install

- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down Expand Up @@ -1022,8 +1022,8 @@ jobs:
mkdir ~/pgvector-install
curl -fsSL https://github.com/pgvector/pgvector/archive/refs/tags/v0.8.1.tar.gz | tar -xz -C ~/pgvector-install
pushd ~/pgvector-install/pgvector-0.8.1
make -j$(nproc)
sudo make install
make OPTFLAGS="" -j$(nproc)
sudo make OPTFLAGS="" install
popd

- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion crates/index/src/tuples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl<'a> MutChecker<'a> {
#[test]
fn aliasing_test() {
#[repr(C, align(8))]
#[derive(Debug, Clone, PartialEq, FromBytes, IntoBytes, Immutable, KnownLayout)]
#[derive(Debug, Clone, FromBytes, IntoBytes, Immutable, KnownLayout)]
struct ExampleHeader {
elements_s: u16,
elements_e: u16,
Expand Down
2 changes: 1 addition & 1 deletion crates/vchordg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub use search::search;
use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout};

#[repr(C, align(8))]
#[derive(Debug, Clone, Copy, PartialEq, FromBytes, IntoBytes, Immutable, KnownLayout)]
#[derive(Debug, Clone, Copy, FromBytes, IntoBytes, Immutable, KnownLayout)]
pub struct Opaque {
pub next: u32,
pub link: u32,
Expand Down
18 changes: 9 additions & 9 deletions crates/vchordg/src/tuples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub trait WithWriter: Tuple {
}

#[repr(C, align(8))]
#[derive(Debug, Clone, PartialEq, FromBytes, IntoBytes, Immutable, KnownLayout)]
#[derive(Debug, Clone, FromBytes, IntoBytes, Immutable, KnownLayout)]
struct MetaTupleHeader {
version: u64,
dim: u32,
Expand Down Expand Up @@ -206,7 +206,7 @@ impl<'a> MetaTupleWriter<'a> {
}

#[repr(C, align(8))]
#[derive(Debug, Clone, PartialEq, FromBytes, IntoBytes, Immutable, KnownLayout)]
#[derive(Debug, Clone, FromBytes, IntoBytes, Immutable, KnownLayout)]
struct VertexTupleHeader {
metadata: [f32; 3],
elements_s: u16,
Expand All @@ -217,7 +217,7 @@ struct VertexTupleHeader {
_padding_0: [Padding; 4],
}

#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone)]
pub struct VertexTuple {
pub metadata: [f32; 3],
pub elements: Vec<u64>,
Expand Down Expand Up @@ -292,7 +292,7 @@ impl WithWriter for VertexTuple {
}
}

#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy)]
pub struct VertexTupleReader<'a> {
header: &'a VertexTupleHeader,
elements: &'a [u64],
Expand Down Expand Up @@ -339,7 +339,7 @@ impl VertexTupleWriter<'_> {
}

#[repr(C, align(8))]
#[derive(Debug, Clone, PartialEq, FromBytes, IntoBytes, Immutable, KnownLayout)]
#[derive(Debug, Clone, FromBytes, IntoBytes, Immutable, KnownLayout)]
struct VectorTupleHeader0 {
payload: Option<NonZero<u64>>,
elements_s: u16,
Expand All @@ -352,15 +352,15 @@ struct VectorTupleHeader0 {
}

#[repr(C, align(8))]
#[derive(Debug, Clone, PartialEq, FromBytes, IntoBytes, Immutable, KnownLayout)]
#[derive(Debug, Clone, FromBytes, IntoBytes, Immutable, KnownLayout)]
struct VectorTupleHeader1 {
payload: Option<NonZero<u64>>,
elements_s: u16,
elements_e: u16,
index: u32,
}

#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone)]
pub enum VectorTuple<V: Vector> {
_0 {
payload: Option<NonZero<u64>>,
Expand Down Expand Up @@ -528,7 +528,7 @@ impl<'a, V: Vector> Clone for VectorTupleReader<'a, V> {
}
}

#[derive(Debug, PartialEq)]
#[derive(Debug)]
pub struct VectorTupleReader0<'a, V: Vector> {
header: &'a VectorTupleHeader0,
elements: &'a [V::Element],
Expand Down Expand Up @@ -562,7 +562,7 @@ impl<'a, V: Vector> VectorTupleReader0<'a, V> {
}
}

#[derive(Debug, PartialEq)]
#[derive(Debug)]
pub struct VectorTupleReader1<'a, V: Vector> {
header: &'a VectorTupleHeader1,
elements: &'a [V::Element],
Expand Down
2 changes: 1 addition & 1 deletion crates/vchordrq/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub use search::{default_search, maxsim_search};
use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout};

#[repr(C, align(8))]
#[derive(Debug, Clone, Copy, PartialEq, FromBytes, IntoBytes, Immutable, KnownLayout)]
#[derive(Debug, Clone, Copy, FromBytes, IntoBytes, Immutable, KnownLayout)]
pub struct Opaque {
pub next: u32,
pub skip: u32,
Expand Down
Loading
Loading