Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbrains/clion-bundle-buildenv
Dockerfile for building GDB/LLDB for MinGW-W64 and Linux
https://github.com/jetbrains/clion-bundle-buildenv
build cmake cross-compilation dockerfile gdb lldb makepkg mingw-w64 pkgbuild
Last synced: 3 months ago
JSON representation
Dockerfile for building GDB/LLDB for MinGW-W64 and Linux
- Host: GitHub
- URL: https://github.com/jetbrains/clion-bundle-buildenv
- Owner: JetBrains
- License: mit
- Created: 2017-08-07T19:17:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-15T19:18:52.000Z (7 months ago)
- Last Synced: 2024-05-16T10:50:59.983Z (7 months ago)
- Topics: build, cmake, cross-compilation, dockerfile, gdb, lldb, makepkg, mingw-w64, pkgbuild
- Language: Shell
- Homepage: https://hub.docker.com/r/abusalimov
- Size: 499 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![team project](http://jb.gg/badges/team.svg)](https://github.com/JetBrains#jetbrains-on-github)
[![license](https://img.shields.io/badge/License-MIT-yellow.svg)](https://raw.githubusercontent.com/JetBrains/clion-bundle-buildenv/master/LICENSE)
# clion-bundle-buildenv
Dockerfiles and PKGBUILD scripts for building GDB and LLDB for MinGW-W64 and Linux## Building
### MinGW-W64
Run the Docker container with the repository root (containing `build.sh`) mounted as `/workdir`:
```
docker build -t clion-bundle-buildenv/mingw:latest -f dockerfiles/mingw.Dockerfile dockerfiles
docker run -v $(pwd):/workdir -it clion-bundle-buildenv/mingw:latest
```Run the `./build.sh` script inside the Docker container:
```
./build.sh -P mingw -c makepkg-mingw32.conf -- gdb lldb
```
(Use `makepkg-mingw64.conf` to build 64-bit packages instead.)The artifacts will appear in the `artifacts-i686-w64-mingw32` directory:
```
$ ls artifacts-i686-w64-mingw32/bundle*
artifacts-i686-w64-mingw32/bundle.tar.xzartifacts-i686-w64-mingw32/bundle:
win
```### Linux
Run the Docker container with the repository root (containing `build.sh`) mounted as `/workdir`:
```
docker build -t clion-bundle-buildenv/linux:latest -f dockerfiles/linux.Dockerfile dockerfiles
docker run -v $(pwd):/workdir -it clion-bundle-buildenv/linux:latest
```Run the `./build.sh` script inside the Docker container:
```
cd linux
./build.sh -P linux -- gdb lldb
```The artifacts will appear in the `artifacts-x86_64-redhat-linux` directory:
```
$ ls artifacts-x86_64-redhat-linux/bundle*
artifacts-x86_64-redhat-linux/bundle.tar.xzartifacts-x86_64-redhat-linux/bundle:
linux
```