From afa6addf920f1f248b69002841cb8ac420bd5bf4 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Tue, 20 Feb 2024 10:44:26 +0100
Subject: [PATCH] Mark zbuild functions as deprecated

---
 control/compute_z.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/control/compute_z.h b/control/compute_z.h
index 2d0923155..214629648 100644
--- a/control/compute_z.h
+++ b/control/compute_z.h
@@ -150,7 +150,7 @@ void chameleon_pzunmqr( int genD, cham_side_t side, cham_trans_t trans, CHAM_des
 void chameleon_pzunmqrrh( int genD, int BS, cham_side_t side, cham_trans_t trans, CHAM_desc_t *A, CHAM_desc_t *B, CHAM_desc_t *T, CHAM_desc_t *D, RUNTIME_sequence_t *sequence, RUNTIME_request_t *request);
 void chameleon_pzunmlq( int genD, cham_side_t side, cham_trans_t trans, CHAM_desc_t *A, CHAM_desc_t *B, CHAM_desc_t *T, CHAM_desc_t *D, RUNTIME_sequence_t *sequence, RUNTIME_request_t *request);
 void chameleon_pzunmlqrh( int genD, int BS, cham_side_t side, cham_trans_t trans, CHAM_desc_t *A, CHAM_desc_t *B, CHAM_desc_t *T, CHAM_desc_t *D, RUNTIME_sequence_t *sequence, RUNTIME_request_t *request);
-void chameleon_pzbuild( cham_uplo_t uplo, CHAM_desc_t *A, void *user_data, void* user_build_callback, RUNTIME_sequence_t *sequence, RUNTIME_request_t *request );
+void chameleon_pzbuild( cham_uplo_t uplo, CHAM_desc_t *A, void *user_data, void* user_build_callback, RUNTIME_sequence_t *sequence, RUNTIME_request_t *request ) __attribute__((deprecated("Please refer to chameleon_pmap() instead")));
 
 int chameleon_pzgelqf_step( int genD, int k, int ib,
                             CHAM_desc_t *A, CHAM_desc_t *T, CHAM_desc_t *D,
-- 
GitLab