Skip to content

Commit 946b150

Browse files
authored
Merge pull request #6840 from chu11/remove_content_s3
content-s3: remove module
2 parents 5b99f1c + d5d321f commit 946b150

File tree

29 files changed

+6
-1594
lines changed

29 files changed

+6
-1594
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,6 @@ jobs:
193193
pip3 install --upgrade pip ;
194194
pip3 install --upgrade --force-reinstall coverage ;
195195
196-
- name: s3 setup
197-
env: ${{matrix.env}}
198-
if: matrix.test_s3
199-
run: |
200-
docker run -d -p 9000:9000 minio/minio server /data; \
201-
202196
- name: generate dumpfile from most recent flux-core tag
203197
if: (matrix.create_release != true)
204198
run: |

configure.ac

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ AS_IF([printf "%d.%d.%d" ${AX_MAJOR_VERSION} ${AX_MINOR_VERSION} ${AX_POINT_VERS
4444
version_err_msg="
4545
VERSION ${VERSION} is invalid.
4646
Try the following to remedy this:
47-
48-
1. Run \`git fetch --tags\` before building. Versions in
47+
48+
1. Run \`git fetch --tags\` before building. Versions in
4949
flux-core are derived from \`git describe\` which uses
5050
the most recent tag.
51-
2. If you are running remote CI in a fork of the main repository,
51+
2. If you are running remote CI in a fork of the main repository,
5252
try pushing the upstream tags to your fork with
53-
\`git push --tags <your_remote>\` to make sure tags are
53+
\`git push --tags <your_remote>\` to make sure tags are
5454
synchronized in your fork.
5555
3. Set the variable manually, with FLUX_VERSION=<version>
5656
in your environment.
@@ -450,29 +450,6 @@ AS_IF([test "x$with_flux_security" = "xyes"], [
450450
])
451451
AM_CONDITIONAL([HAVE_FLUX_SECURITY], [test "x$with_flux_security" = "xyes"])
452452

453-
AC_ARG_ENABLE([content-s3],
454-
AS_HELP_STRING([--enable-content-s3], [Enable S3 storage backend]))
455-
456-
AS_IF([test "x$enable_content_s3" = "xyes"], [
457-
X_AC_CHECK_COND_LIB(s3, S3_initialize)
458-
AS_IF([test "x$ac_cv_lib_s3_S3_initialize" != "xyes"], [
459-
AC_MSG_ERROR([configured with --enable-content-s3, but libs3 not found])
460-
])
461-
462-
AC_COMPILE_IFELSE(
463-
[AC_LANG_PROGRAM([#include <libs3.h>],
464-
[S3_create_bucket (0,0,0,0,0,0,0,0,0,0,0);])],
465-
AC_DEFINE([HAVE_S3_AUTH_REGION], [1], [S3_create_bucket has 11 args]),
466-
AC_COMPILE_IFELSE(
467-
[AC_LANG_PROGRAM([#include <libs3.h>],
468-
[S3_create_bucket (0,0,0,0,0,0,0,0,0,0,0,0,0);])],
469-
AC_DEFINE([HAVE_S3_TIMEOUT_ARG], [1], [S3_create_bucket has 13 args])
470-
)
471-
)
472-
])
473-
474-
AM_CONDITIONAL([ENABLE_CONTENT_S3], [test "x$enable_content_s3" = "xyes"])
475-
476453
AC_ARG_ENABLE(
477454
[broken-locale-mode],
478455
AS_HELP_STRING([--enable-broken-locale-mode],
@@ -641,7 +618,6 @@ AC_CONFIG_FILES( \
641618
src/modules/Makefile \
642619
src/modules/kvs/Makefile \
643620
src/modules/content-files/Makefile \
644-
src/modules/content-s3/Makefile \
645621
src/modules/job-ingest/Makefile \
646622
src/modules/job-manager/Makefile \
647623
src/modules/job-list/Makefile \

src/modules/Makefile.am

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ SUBDIRS = \
2323
resource \
2424
sdbus
2525

26-
if ENABLE_CONTENT_S3
27-
SUBDIRS += content-s3
28-
endif
29-
3026
fluxmod_LTLIBRARIES = \
3127
barrier.la \
3228
connector-local.la \
@@ -48,10 +44,6 @@ fluxmod_LTLIBRARIES = \
4844
sdexec.la \
4945
sdbus.la
5046

51-
if ENABLE_CONTENT_S3
52-
fluxmod_LTLIBRARIES += content-s3.la
53-
endif
54-
5547
# N.B. SOURCES should be empty when module subdir is listed in
5648
# SUBDIRS above. This avoids distcheck problems with older automake.
5749
# Hint: build convenience library in subdir and reference that in LIBADD.
@@ -92,16 +84,6 @@ content_files_la_LIBADD = \
9284
$(top_builddir)/src/common/libflux-core.la
9385
content_files_la_LDFLAGS = $(fluxmod_ldflags) -module
9486

95-
if ENABLE_CONTENT_S3
96-
content_s3_la_SOURCES =
97-
content_s3_la_LIBADD = \
98-
$(builddir)/content-s3/libcontent-s3.la \
99-
$(top_builddir)/src/common/libflux-internal.la \
100-
$(top_builddir)/src/common/libflux-core.la \
101-
$(LIBS3)
102-
content_s3_la_LDFLAGS = $(fluxmod_ldflags) -module
103-
endif
104-
10587
content_sqlite_la_SOURCES = \
10688
content-sqlite/content-sqlite.c
10789
content_sqlite_la_CPPFLAGS = \

src/modules/content-s3/Makefile.am

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)