Hi,

When building LyX using CMake (and Qt5), the resulting source packages (?)
are empty, which seems wrong to me... See e.g. the "workspace" of this job:

https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/ws/build/

E.g., the file "LyX-2.3.tar.gz
<https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/ws/build/LyX-2.3.tar.gz>"
is only 29 bytes.

Any ideas?
This is the script that sets up the Docker container:

https://github.com/DrChr/build-lyx-using-ubuntu-latest-qt5-cmake/blob/master/install_dependencies.sh

And this is the script that does the build (in the container):

https://github.com/DrChr/build-lyx-using-ubuntu-latest-qt5-cmake/blob/master/build/build_lyx.sh

I've pasted the build script below:

/Christian

cd "$1"mkdir -p build
cd build
CMAKE_OPTS=(
-DLYX_USE_QT=QT5
-DLYX_CPACK=ON
-DCPACK_BINARY_DEB:BOOL=ON
-DCPACK_SOURCE_TGZ:BOOL=ON
-DLYX_NLS=ON
-DLYX_EXTERNAL_Z=ON
-DLYX_EXTERNAL_ICONV=ON
-DLYX_EXTERNAL_BOOST=OFF
)
# CMAKE_OPTS=( -DLYX_USE_QT=QT5 -DLYX_CPACK=ON -DCPACK_SOURCE_TGZ:BOOL=ON )
do_or_fail cmake "${CMAKE_OPTS[@]}" ..
do_or_fail make package
do_or_fail make package_source

Reply via email to