Commit 31454861 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We should use compile-requirements.txt instead of dev-requirements.txt

parent 1f69e883
...@@ -34,13 +34,12 @@ all: mongodb-service ...@@ -34,13 +34,12 @@ all: mongodb-service
tar xf mongodb-src-r4.4.6.tar.gz tar xf mongodb-src-r4.4.6.tar.gz
patch -Np1 -d mongodb-src-r4.4.6 < mongodb-src-r4.4.6-no_debug.patch patch -Np1 -d mongodb-src-r4.4.6 < mongodb-src-r4.4.6-no_debug.patch
patch -Np1 -d mongodb-src-r4.4.6 < mongodb-src-r4.4.6-fix_compile_error.patch patch -Np1 -d mongodb-src-r4.4.6 < mongodb-src-r4.4.6-fix_compile_error.patch
patch -Np1 -d mongodb-src-r4.4.6 < mongodb-src-r4.4.6-no_jira.patch
mkdir mongo-home mkdir mongo-home
cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 install --upgrade pip cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 install --upgrade pip
cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 install -r buildscripts/requirements.txt cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 install -r buildscripts/requirements.txt
cd mongodb-src-r4.4.6 && scons PREFIX=/usr DESTDIR=/ install-core --release --opt=on --disable-warnings-as-errors MONGO_VERSION=4.4.6 -j 1 cd mongodb-src-r4.4.6 && scons PREFIX=/usr DESTDIR=/ install-core --release --opt=on --disable-warnings-as-errors MONGO_VERSION=4.4.6 -j 1
# cd mongodb-src-r4.4.6 && scons --prefix=/usr install --disable-warnings-as-errors MONGO_VERSION=4.4.6 # cd mongodb-src-r4.4.6 && scons --prefix=/usr install --disable-warnings-as-errors MONGO_VERSION=4.4.6
cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 uninstall -y -r buildscripts/requirements.txt cd mongodb-src-r4.4.6 && HOME=$(CURDIR)/mongo-home pip3 uninstall -y -r etc/pip/compile-requirements.txt
@echo "$$MONGODB_SERVICE" > /lib/systemd/system/mongodb.service @echo "$$MONGODB_SERVICE" > /lib/systemd/system/mongodb.service
systemctl enable mongodb.service systemctl enable mongodb.service
install -v -Dm755 mongod.conf /etc install -v -Dm755 mongod.conf /etc
......
diff -uNr mongodb-src-r4.4.6/etc/pip/dev-requirements.txt mongodb-src-r4.4.6-no_jira/etc/pip/dev-requirements.txt
--- mongodb-src-r4.4.6/etc/pip/dev-requirements.txt 2021-05-03 17:11:41.000000000 +0930
+++ mongodb-src-r4.4.6-no_jira/etc/pip/dev-requirements.txt 2025-05-08 11:46:42.715365570 +0930
@@ -6,4 +6,3 @@
-r components/resmoke.req
-r components/external_auth.req
-r components/evergreen.req
--r components/jiraclient.req
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment