mirror of
https://github.com/antos-rde/antos.git
synced 2025-04-29 20:26:45 +02:00
fix(make): correct luasocket compiling
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit
This commit is contained in:
parent
10aa6ab208
commit
7ce96d1c31
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -101,10 +101,14 @@ pipeline {
|
||||
stages
|
||||
{
|
||||
stage('Prepare dependencies') {
|
||||
agent {
|
||||
node { label'workstation' }
|
||||
}
|
||||
steps {
|
||||
sh'''
|
||||
git submodule update --init
|
||||
make clean || true
|
||||
rm -rf build/* || true
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
10
Makefile
10
Makefile
@ -57,13 +57,13 @@ luasocket:
|
||||
make -C $(ROOT_DIR)/antd/luasocket linux
|
||||
LUAV=5.4 \
|
||||
LUAINC_linux=$(ROOT_DIR)/antd/silk/modules/lua/lua54/ \
|
||||
LUAPREFIX_linux=$(DESTDIR) \
|
||||
LUAPREFIX_linux=$(BUILD_PREFIX) \
|
||||
PLAT=linux \
|
||||
make -C $(ROOT_DIR)/antd/luasocket install-unix
|
||||
-mkdir -p $(DESTDIR)/lib/lua
|
||||
cp -rf $(DESTDIR)/lib/lua/5.4/* $(DESTDIR)/opt/www/lib/lua/
|
||||
cp -rf $(DESTDIR)/share/lua/5.4/* $(DESTDIR)/opt/www/lib/lua/
|
||||
rm -rf $(DESTDIR)/lib $(DESTDIR)/share
|
||||
-mkdir -p $(INSTALL_DIR)/lib/lua
|
||||
cp -rf $(INSTALL_DIR)/lib/lua/5.4/* $(INSTALL_DIR)/lib/lua/
|
||||
cp -rf $(INSTALL_DIR)/share/lua/5.4/* $(INSTALL_DIR)/lib/lua/
|
||||
rm -rf $(INSTALL_DIR)/lib/lua/5.4 $(INSTALL_DIR)/share
|
||||
|
||||
antd-% sil%: httpd
|
||||
@echo "Building $@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user