Commit Graph

93 Commits

Author SHA1 Message Date
mio
8082239cc3 Allow installing on Windows 2025-02-10 15:59:46 +08:00
mio
996ad57e34 Add an option to determine if building all-in-one objects archive 2025-01-04 17:35:09 +08:00
Pedro Tôrres
2899088844 Allow Statically Linking in Go (#2067)
* unset -L and -rpath from CGO_LDFLAGS

Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com>

* allow go statically linking

Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com>

* fix setup.py

---------

Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com>
Co-authored-by: mio <mio@lazym.io>
2024-12-21 11:02:28 +08:00
@Antelox
6fbbf3089a Python binding setup refactoring + cibuildwheel workflow (#2026)
* Python bindings: Make the test scripts handy for pytest

* Python bindings: Update MANIFEST.in with new paths

* Update .gitignore to exclude PyCharm-related files/folders

* Python bindings: Update CMakeLists.txt in order to set CMAKE_OSX_ARCHITECTURES var

* Python bindings:
- Moved project package settings to the new TOML format
- Refactored setup.py to cleanup/improve the code and make it ready for cibuildwheel
- Updated README.md with the package long description part
- Removed setup.cfg since universal wheel building will be deprecated soon

* Python bindings:
- Replaced old PyPI-publishing.yml workflow with brand-new one based on cibuildwheel
- Removed old building scripts

* Replaced macos-12 runner with macos-13 since it will be removed soon

* Python bindings: Specify SYSTEM_VERSION_COMPAT=0 env var for macos-13 x86_64 runner as per cibuildwheel warning message

* Python bindings: Enable i686 for debugging

* Python bindings: Enable DEBUG flag according to the presence of tag release

* Python bindings: Added matrix to cover i686 manylinux/musllinux builds

* Python bindings:
- Replaced macos-14 runner with macos-latest
- Bumped cibuildwheel GitHub action to 2.21.3 version

* Python bindings:
- Adapt test_uc_ctl_tb_cache test to the recent changes
- Fixed typos
- PEP8 fixes

* GitHub Action Workflow: Introduce BUILD_TYPE env var to select build type according to the presence of tag release

---------

Co-authored-by: mio <mio@lazym.io>
2024-10-17 19:35:42 +08:00
mio
867770c7ef Tag and release 2.1.1 2024-09-26 18:44:51 +08:00
mio
67f08b1c27 Bump version and generate bindings 2024-09-21 23:00:57 +08:00
mio
d87791329f Add a cmake option 2024-09-21 22:16:02 +08:00
scribam
1ed4c43ff3 Update cmake minimum required to version 3.5 (#1976) 2024-07-19 11:08:13 +08:00
Arsenii es3n1n
ddd6b7c254 build: allow CMAKE_MSVC_RUNTIME_LIBRARY #1958 (#1960) 2024-06-12 14:46:13 +08:00
mio
da84208d89 Hide symbols for unicorn-common 2024-04-29 11:55:06 +08:00
mio
a9a54aed2f Fix for xcode build 2024-03-08 17:28:46 +08:00
0406407213 Told QEMU configure to use atomic 2023-12-29 00:55:32 +08:00
e5fa037aeb Also add atomic to samples lib linkage 2023-12-28 23:38:33 +08:00
60cf9eba40 Reflect in pkg-config 2023-12-28 23:18:13 +08:00
e3163ccda1 Refine -latomic fix 2023-12-28 23:14:10 +08:00
db0acd5ace Add -latomic to samples and tests 2023-12-28 22:50:48 +08:00
f389666ea6 Fix typo 2023-12-28 22:05:44 +08:00
55560a2474 Add -latomic for arm and riscv64 2023-12-28 22:02:39 +08:00
Matheus C. França
4fb4b3e4b0 Zig binding
* zig binding - sample added
* zig build CI
* split mingw (shared/static) CI/CD
* unicorn log added
* build C/C++ samples
2023-08-04 11:24:00 -03:00
Takacs, Philipp
e25419bb2d add virtuall tlb
this virtuall tlb allows to use mmu indipendent of the architectur
2023-03-28 13:50:11 +02:00
Takacs, Philipp
759d694e24 sample to use the softmmu 2023-03-28 13:50:11 +02:00
Nguyen Anh Quynh
6e9c6aea5f bump version to 2.0.2 2023-02-04 13:00:58 +08:00
mio
5f5ef1546c Update CMakeLists versions 2022-11-16 15:01:49 +01:00
a2f9630236 Merge pull request #1691 from relapids/arm_specific_tests
Disable ARM-specific tests when ARM is unavailable. (#1689)
2022-08-31 22:08:12 +08:00
relapids
a0eb240a29 Fix MSVC runtime library handling in CMakeLists. 2022-08-18 22:03:38 -07:00
relapids
154a21d6a3 Disable ARM-specific tests when ARM is unavailable. 2022-08-18 18:29:24 -07:00
mio
bdb141aeef Disable unaligned access test on ppc and aarch64
The memoy read operations on these architectures are inlined

e.g. ldur on aarch64
2022-08-14 15:42:37 +02:00
6a2e2a1291 Minor fix for CMakeLists.txt 2022-05-23 22:29:07 +02:00
42e52cd4c7 Merge remote-tracking branch 'origin/dev' into mrexodia-msvc-find-lib 2022-05-03 00:08:47 +02:00
Duncan Ogilvie
1f4bdaf6e0 Make sure setjmp-setjmp-wrapper-win32 participates in the build
See: https://stackoverflow.com/a/49446994/1806760
2022-05-03 00:01:30 +02:00
fc2683c973 Fix cmake typo to correctly only set archive output name 2022-05-02 23:34:08 +02:00
7bc6e9a265 Fix syntax error 2022-05-02 17:53:35 +02:00
bc056727af Fix MSVC build 2022-05-02 17:51:03 +02:00
f3ce0fdb33 Generate both shared lib and static archive by default 2022-04-30 00:25:27 +02:00
Eric Poole
cfee2139a0 TriCore Support (#1568)
* TriCore Support

python sample

* Update sample_tricore.py

Correct attribution

* Update sample_tricore.py

Fixed byte code to execute properly.

* Update sample_tricore.py

Removed testing artifact

* Added tricore msvc config-file.h

* Added STATIC to tricore config and added helper methods to symbol file generation.

* Update op_helper.c

Use built in crc32

* Fix tricore samples and small code blocks are now handled properly

* Add CPU types

* Generate bindings

* Format code

Co-authored-by: lazymio <mio@lazym.io>
2022-04-29 23:11:34 +02:00
0c975caf09 Add -static-libgcc for mingw64-32 2022-04-24 00:10:12 +02:00
d661173ecf Pick #1594 2022-04-17 16:16:11 +02:00
a60db86144 Move static linkage flags to Libs.private 2022-04-16 15:57:54 +02:00
shuffle2
2912cd1e29 fix rust bindings build on windows (#1584)
Refine rust bindings.
2022-04-16 13:40:04 +02:00
ac04c02789 Refine static libs on Linux/MacOS 2022-04-12 18:49:15 +02:00
e188591695 Rename unicorn_static to unicorn-static 2022-04-04 10:54:35 +02:00
82559cb9a7 Bundle static libraries 2022-04-04 10:24:07 +02:00
1b346f94e0 Add back arm_armbe and arm64_armbe targets 2022-02-12 14:17:33 +01:00
58fc952230 Remove armeb-softmmu and aarch64eb-softmmu 2022-02-12 14:15:54 +01:00
mio
5a592c753e Set s390x-softmmu to STATIC 2022-01-19 22:32:00 +01:00
mio
67c437d8b8 Enable s390x in default arch
This was overriden in a previous PR
2022-01-19 22:02:26 +01:00
mio
c5ad3c318c Sync with dev and resolve conflicts 2022-01-19 20:09:25 +01:00
e018a9ca6a Merge pull request #1544 from mrexodia/cmake-subdirectory
Refactor CMake
2022-01-19 14:07:37 +01:00
Duncan Ogilvie
5d471d81e7 Change PUBLIC to PRIVATE for linking to unicorn-common 2022-01-18 22:27:37 +01:00
mio
e6ff7e83e3 Sync with dev branch 2022-01-18 21:39:45 +01:00