Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement make target "purge" #1503

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

BCSharp
Copy link
Member

@BCSharp BCSharp commented Jul 6, 2022

Resolves #1436.

purge is a utility target, that is it does not use parameters frameworks or configuration; it always purges for all configurations and for all frameworks.

The reason to purge for all configurations is that some files being purged are not configuration-specific.

The reason to purge for all frameworks is that it allows to zap leftovers from frameworks no longer supported.

And another reason for both is that it was simpler to implement.

Note that purge deletes all produced binaries, and even package dependencies (though not the package cache). It is almost like a fresh checkout but with all source file edits or additional files kept in place.

Also, the DLR submodule is left intact. I haven't had problems with it in the past.

Copy link
Contributor

@slozier slozier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks

@BCSharp BCSharp merged commit 99c98e5 into IronLanguages:master Jul 7, 2022
@BCSharp BCSharp deleted the purge branch July 7, 2022 00:48
slozier added a commit that referenced this pull request Jul 16, 2022
…1507)

* Fix a bug about wrong order of function arguments (#1495)

* Implement module resource (#1490)

* Implement resource.getrlimit

* Implement resource.setrlimit

* Implement resource.getpagesize

* Implement resource.getrusage

* Implement resources.prlimit

* Use RuntimeInformation.IsOSPlatform

* Additional tests

* Use light throwing

* Adapt to macOS

* Disable test on Windows

* Replace Mono.Unix calls and types

* Simplify tests

* Resolve failure with jedi module (#1496)

* Resolve failure with jedi module

* Fix CA1853

* Fix test failure

* Add test

* Use P/Invoke for os.strerror (#1500)

* nt.strerror_r

* Eliminate switch on PythonErrorNumber

* Isolate Mono.Unix

* Add a few tests

* Implement make target "purge" (#1503)

* Support module errno on Linux and macOS (#1502)

* Generate platform-specific errno codes

* Generate platform-specific errno symbols

* Add test_errno

* Support error symbol aliases

* Support error symbol aliases on Linux

* Support error symbol aliases on Darwin

* Include Posix aliases in Windows aliases

* Stable errno order

* Let _socket use OS-native error codes

* Make tests passing on all platforms

* More Mono codes remapped

* Complete mapping of Mono codes

Co-authored-by: Jingxuan He <LostBenjamin@users.noreply.github.com>
Co-authored-by: slozier <slozier@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Working directory not fully cleaned by ./make clean
2 participants