microsoft / microsoft/mimalloc

Make install places files in invalid paths

Open
#223 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

After cloning the repo, building and running make install the project is not properly installed.

Commands:
```
cd ./mimalloc
mkdir -p out/release
cd out/release
cmake ../../
make
make install
```

Resulting installation:
```
root@153362c728c0:/usr/local/lib# ls -R mimalloc-1.6/
mimalloc-1.6/:
cmake include libmimalloc.a libmimalloc.so libmimalloc.so.1.6 mimalloc.o

mimalloc-1.6/cmake:
mimalloc-config-version.cmake mimalloc-config.cmake mimalloc-release.cmake mimalloc.cmake

mimalloc-1.6/include:
mimalloc-new-delete.h mimalloc-override.h mimalloc.h
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported sequence in the issue: configure with cmake ../../, run make, then make install. Start by inspecting the CMake installation configuration and the resulting /usr/local/lib/mimalloc-1.6 tree. Done means installation no longer places the project files in invalid paths, with the intended layout clarified from the project configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.